AT.beam.par.physical.to.technical: AT.beam.par.physical.to.technical

Description Usage Arguments Value See Also Examples

View source: R/libamtrack.R

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/trunk/src/AT_PhysicsRoutines.c#L426

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)

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