AT.dose.Gy.from.fluence.cm2 {libamtrack} | R Documentation |
Returns dose in Gy for each given particle
AT.dose.Gy.from.fluence.cm2(E.MeV.u, particle.no, fluence.cm2, material.no, stopping.power.source.no)
E.MeV.u |
energy of particles in the mixed particle field (array of
size n) (see also |
particle.no |
type of the particles in the mixed particle field (array
of size n) (see also |
fluence.cm2 |
fluence for each particle type (array of size n). |
material.no |
material index (see also |
stopping.power.source.no |
stopping power source index (see also
|
dose.Gy |
be allocated by the user which will be used to return the results (array of size n) |
View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_PhysicsRoutines.c#L340
# Compute dose from protons, He-3, C-12 and O-16 at # same energy and fluence in air AT.dose.Gy.from.fluence.cm2( E.MeV.u = c(10, 10, 10, 10), fluence.cm2 = c(1e7, 1e7, 1e7, 1e7), particle.no = c(1001, 2003, 6012, 8016), material.no = 7, stopping.power.source.no = 2)