TRiP98 ddd command



ddd items / projectile()
            prefix()   list      rffold         debug
            import()   delete    peakposition
            export()   display   peakenergy
            read       inspect   interpolate
            write

Purpose

Handles input and output and interpolation of depth dose distributions.

Parameters

items
For the input options (read and import) specifies a list of files, optionally wildcarded, to be read as depth dose distributions.
For the output options ( write, export() list, inspect, delete, interpolate, peakposition, peakenergy ) specifies the beam energy. A "*" means all energies, a list of energies has to be put in double quotes.
Usually depth dose distributions have the extension .ddd
projectile()
Specifies the primary projectile. Defaults to "*" (all) if nothing is specified, except for delete.
prefix()
Specifies a file name prefix which is put in front of automatically generated (i.e. output) file names
import()
Not yet implemented.
export(fmt)
Exports current depth dose distributions in some other format, at present only gd is implemented to export for the gd plot program. Naming convention is:
<prefix><proj><targ>.MeV<eeeee>.ddd.gd
where <eeeee> is the energy in MeV/u times 100.
read
Read depth dose distributions specified by items. Internally they are sorted in ascending beam energy order. When duplicate energies occur, older entries are replaced by newer ones.
write
Writes the current depth dose distributions as specified by items. Naming convention is:
<prefix><proj><targ>.MeV<eeeee>.ddd
where <eeeee> is the energy in MeV/u times 100.
list
Lists loaded depth dose distributions.
delete
Deletes the loaded depth dose distributions.
display
Displays the current depth dose distributions. Not yet implemented.
inspect
Show some internal info about the current depth dose distributions.
rffold
Triggers folding of the currenty loaded depth dose distributions with the ripple filter response function. Note that this function has to be loaded before (rifi command). Folding is performed "inplace", that is, the current distributions are replaced by folded ones.
peakposition
Interpolate and put out peak positions for the energies (MeV/u) given by items.
peakenergy
Interpolate and put out peak energies for the peak positions (g/cm**2) given by items.
interpolate
Interpolate depth dose distributions at the energies (MeV/u) given by items. They will be inserted into the list of already loaded distributions.
debug
Debug switch. Lots of output!

Remark

none

Examples

  1. ddd $TRIP98/DATA/RF0MM/*.ddd / read
    
    Reads all files in the directory "$TRIP98/DATA/RF0MM" with the extension ".ddd" and interprete them as depth dose distributions.
  2. ddd / energy(270)
    
    Query the peak position for 270 MeV/u.
  3. ddd / delete
    ddd C270.ddd / read
    ddd /write
    
    Read depth dose distribution from the given file (for 270 MeV/u). Write it to file, which will be named C.H2O.MeV27000.ddd.
  4. ddd C100.ddd,C200.ddd / read
    ddd 150 / interpolate
    
    Read two depth dose distributions (for 100, 200 MeV/u). Interpolate an intermediate distribution at 150 MeV/u.

Last updated:
$Id: trip98cmdddd.html,v 1.13 2018/08/10 20:48:49 kraemer Exp $
M.Kraemer@gsi.de