TRiP98 detector command
| GSI Biophysics | TRiP98 long write-up |

detector


detector  item / import()   list      field()       debug
                 export()   delete    signal
                 read       display   full 
                 write      inspect   spectrum
                 prefix()   algorithm()

Purpose

Handles detector positioning and signal calculation

Parameters

item
For the input options (read and import()) specifies a list of files, optionally wildcarded or including shell variables, to be read as detector descriptions. Usually detector descriptions have the extension ".det"
For all other options: name of the detector for which the description is to be processed. A "*" means all detectors, a list of detectors has to be put in double quotes.
import()
Not yet implemented.
export(fmt)
Exports a detector description in some non-native format, at present only <fmt>="gd" is implemented to export for the gd plot program.
File name convention is:
<prefix><item>.det.gd
read
Read a detector description specified by item.
write
Write the description for detector item
File name convention is:
<prefix><item>.det
prefix()
Prefix for output (write,export()) file names.
list
List the description for detector item
delete
Delete the description for detector item
display
Display the description for detector item. Not yet implemented.
inspect
Show some internal info about detector item.
field(field)
signal
The detector response is calculated, the specified fields are taken into account.
full
For write and export() the entire micro-CT is treated as a dose cube and stored on file or exported as specified.
Otherwise only a single average value is saved in the ".det" file.
spectrum
For signal: evaluate (and export) the spectral distribution of fragments in the detector centre, too.
algorithm()
Selects algorithm for signal calculation. Same choices as for dose calculation:
debug
Debug switch. Lots of output !

Remark

Note that for a detector signal calculation the appropriate efficiency table and dE/dx tables must be loaded. Also, a CT must be defined in order to place the detector(s) correctly

Examples

  1. det $TRIP98/DATA/film.det /read
    
    Reads the specified file in the directory "$TRIP98/DATA" and interpretes it as a detector description.
  2. det / signal export(gd) full 
    
    Calculate the detector response and export the resultant dose cube in gd format.

| GSI Biophysics | TRiP98 long write-up |
Last updated:
$Id: trip98cmddet.html,v 1.4 2009/03/13 17:26:15 kraemer Exp $
M.Kraemer@gsi.de