AT.beam.par.physical.to.technical

Share:

Description

Converts physical beam parameters of a symmetric, double lateral Gaussian shape beam, i.e. central (=peak) fluence and width (= 1 standard deviation) to technical, accelerator parameters, i.e. total number of particles and FWHM

Usage

1
AT.beam.par.physical.to.technical(fluence.cm2, sigma.cm)

Arguments

fluence.cm2

fluence in beam center (array of size n).

sigma.cm

beam width stdev (array of size n).

Value

N

resulting absolute particle numbers (array of size n)

FWHM.mm

resulting FWHMs (in mm) (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_PhysicsRoutines.c#L430

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Technical parameters for a double Gaussian beam
# of Carbon ions at 270 MeV/u in water with 
# 0.5 cm sigma width and 1 Gy in the peak
AT.beam.par.physical.to.technical(  fluence.cm2 = AT.fluence.cm2.from.dose.Gy(
 E.MeV.u      = 270, 
                                                                              
 D.Gy         = 1.0, 
                                                                              
 particle.no  = AT.particle.no.from.particle.name("12C"), 
                                                                              
 material.no  = AT.material.no.from.material.name("Water, Liquid"),
                                                                              
 stopping.power.source.no = 2), 
                                    sigma.cm    = 0.5)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.