xs command



xs   items target | interaction
   / prefix() 
     import() calculate list    enable  debug
     export() method()  delete  disable
     read     ne()      display 
     write    nw()      inspect
     swap     na()
              e()
              w()
              a()

Purpose

Handles interaction cross sections.

Parameters

items
For read: Comma separated, possibly wild carded list of external cross section files.
For all other options:
Specifies the projectile to which the cross section pertains. The projectile must have been loaded before via the projectile command.
target
Specifies the target material to which the cross section pertains. It must have been loaded before via the target command.
This parameter is ignored if external cross section files are specified (/read option).
interaction
Selects the type of elementary interactions for the desired actions.
Supported interactions for electrons currently are: i, l and x (ionization, elastic and excitation, respectively). For ions: i, l and x.
Default is * (all supported ones).
An additional second letter t, s or d selects total, single or double differential cross sections, respectively, for the output options.
This parameter is ignored if external cross section files are specified (/read option).
prefix(prefix)
Output file name(s) prefix.
import()
Not yet implemented.
export(fmt)
Exports current cross sections in some other format. At present only gd is foreseen, an ASCII format to be plotted with the gd program. Cross sections are exported as a couple of files for each material, comprising total as well as differential cross section tables.
File naming convention is:
<prefix><projectile>.<target>.<interaction>.gd,
for total cross sections and
<prefix><projectile>.<target>.<interaction>.<fff><eeeee>.gd,
for differential cross sections where <fff> is one of keV MeV GeV and <eeeee> is a five digit energy value, with the radix point after the third digit.
read
Read external cross section files.
write
Write external cross section files.
swap
Not yet implemented.
list
List current cross sections.
delete
Delete specified cross sections.
display
Not yet implemented.
inspect
Inspect specified cross sections.
enable
Enable specified cross sections.
disable
Disable specified cross sections.
calculate
Calculate specified cross sections.
method(m)
Method of calculation.
For electrons currently:
emp
For ions currently one of: If omitted the internal default is emp.
ne()
Number of primary particle energy table values. If omitted a "reasonable" internal default is chosen.
nw()
Number of secondary particle energy table values. If omitted a "reasonable" internal default is chosen.
na()
Number of secondary angle table values. If omitted a "reasonable" internal default is chosen.
e(eitems)
List of comma separated items, determining primary particle energy table values.
If omitted a "reasonable" internal default is chosen.
Single item: a single energy, if eitems=*: internal values.
Two items: pair of numbers specifying lower and upper table limit, if eitems=*,*: internal values.
List of items: use as table values.
w(witems)
List of comma separated items, determining secondary particle energy table values.
If omitted a "reasonable" internal default is chosen.
Single item: a single energy, if witems=*: internal values.
Two items: pair of numbers specifying lower and upper table limit, if witems=*,*: internal values.
List of items: use as table values.
NOTE: it's not recommended to "force" secondary energy table contents (except for cross section inspection), better use the internal defaults.
a()
Pair of numbers specifying lower and upper limit of secondary angle table values. If omitted a "reasonable" internal default is chosen.
debug
Debug switch. Lots of output !

Remark

Examples

xs C H2O i / calc export(gd) meth(bea) e(10)
calculates the ionization cross sections for C + H2O 10 MeV/u with the Binary Encounter Approximation. Data are exported to the files
C.H2O.MeV01000.i.gd
and
C.H2O.i.gd
respectively
Last updated: M.Kraemer,
$Id: traxcmdxs.html,v 1.5 2017/03/14 15:50:04 kraemer Exp $