AT.dose.weighted.E.MeV.u: AT.dose.weighted.E.MeV.u

Description Usage Arguments Value See Also Examples

Description

Computes the dose-weighted average energy of a particle field Needed by SuccessiveConvolutions

Usage

1
2

Arguments

E.MeV.u

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

particle.no

particle index (array of size number.of.field.components) (see also particle.no).

fluence.cm2

fluences of particles in the mixed particle field (array of size number.of.field.components).

material.no

material index (see also material.no).

stopping.power.source.no

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

Value

dose-weighted

dose-weighted

See Also

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

Examples

1
2
3
4
5
6
7
8
9
# fluence- and dose-weighted mean energy for a simple mixed field
# of high and low (99/1) energy protons
AT.fluence.weighted.E.MeV.u( E.MeV.u       = c(100, 1),
                             fluence.cm2   = c(99e8, 1e8)) 
AT.dose.weighted.E.MeV.u( E.MeV.u       = c(100, 1),
                          particle.no   = c(1001, 1001),
                          fluence.cm2   = c(99e8, 1e8), 
                          material.no   = 1,                   # water
                                   stopping.power.source.no = 2)   


Search within the libamtrack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.