TRiP98 spc command
spc items / prefix() list rffold debug
import() delete interpolate
export() nospcd display
Handles input, output and interpolation of fragment spectral distributions.
For the input options
(read and import)
specifies a list of files, optionally wildcarded, to be read as
fragment spectral distributions.
For the output options (
specifies the beam energy. A "*" means all energies, a list of
energies has to be put in double quotes.
Usually spectral distributions have the extension
Specifies a file name prefix which
is put in front of automatically generated file names
Import spectral distribution in non-native format.
At present only
gd is implemented.
Mandatory naming convention for the input files is the same as for
Note that the various name components are significant,
they are used to derive projectile/target names, beam energies
and depth positions. In addition, the
is used to retrieve the assumed Bragg peak position.
For more details see
Exports current depth dose distributions in some non-native format,
at present only
gd is implemented to export for the
File naming convention is:
<eeeeee> is the beam energy in MeV/u times 100 and
<dddddd> is the depth in micrometers.
In addition, a file
with the integrated fragment yields (N/N0) as a function of depth is created.
Specifies that only the
Read spectral distributions specified by items.
Internally they are sorted in ascending beam energy order.
When duplicate beam energies occur, older entries are replaced by newer ones.
Writes the current spectral distributions
as specified by items.
File naming conventions is:
<eeeeee> is the beam energy in MeV/u times 100.
Lists loaded spectral distributions.
Deletes the loaded spectral distributions.
Displays the current spectral distributions. Not yet implemented.
Show some internal info about the current spectral distributions.
Triggers folding of the currently loaded spectral distributions
with the ripple filter response function.
Note that this function has to be loaded before
Folding is performed "inplace", that is, the current distributions
are replaced by folded ones.
Note also that this procedure is rather CPU- and memory-intensive.
You should run it in batch on a large memory machine.
Interpolates a fragment spectral distribution at the energy (MeV/u)
given by items.
It will be inserted into the list of loaded distributions.
Not yet implemented.
Debug switch. Lots of output !
Usually the spectra are memory mapped on input. Big memory saver !
spc prefix.12C.H2O.MeV*.um*.spc.gd /import(gd)
Imports all files matching the given file name pattern in gd format,
trip98cmdspc.html,v 220.127.116.11 2006/04/10 19:39:24 kraemer Exp $
Impressum Data privacy protection