AT.dose.Gy.from.fluence.cm2: AT.dose.Gy.from.fluence.cm2

Description Usage Arguments Value See Also Examples

View source: R/libamtrack.R

Description

Returns dose in Gy for each given particle

Usage

1
2

Arguments

E.MeV.u

energy of particles in the mixed particle field (array of size n) (see also E.MeV.u).

particle.no

type of the particles in the mixed particle field (array of size n) (see also particle.no).

fluence.cm2

fluence for each particle type (array of size n).

material.no

material index (see also material.no).

stopping.power.source.no

stopping power source index (see also stopping.power.source.no).

Value

dose.Gy

be allocated by the user which will be used to return the results (array of size n)

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_PhysicsRoutines.c#L340

Examples

1
2
3
4
5
6
7
# 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)

libamtrack documentation built on May 2, 2019, 4:55 p.m.