AT.CSDA.range.g.cm2: AT.CSDA.range.g.cm2

Description Usage Arguments Value See Also Examples

Description

Computes the CSDA range using the PSTAR data

Usage

1
2
AT.CSDA.range.g.cm2(E.initial.MeV.u, E.final.MeV.u, particle.no,
 material.no)

Arguments

E.initial.MeV.u

initial energy of particle per nucleon (array of size n).

E.final.MeV.u

final energy of particle per nucleon (array of size n).

particle.no

particle index (array of size n) (see also particle.no).

material.no

material index (see also material.no).

Value

CSDA.range.cm2.g

resulting range (array of size n)

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/tags/0.6.3/src/AT_DataRange.c#L101

Examples

1
2
3
4
5
6
7
8
# Range of 270 MeV/u carbon ions and 142 MeV/u protons in water
#AT.CSDA.range.g.cm2(    E.MeV.u               = c(270, 142),

#                        particle.no           =
# AT.particle.no.from.particle.name(c("12C", "1H")),

#                        material.no           =
# AT.material.no.from.material.name("Water, Liquid"))

libamtrack documentation built on May 1, 2019, 6:47 p.m.