TRiP98 Rst command



rst file / import()   list           debug
           export()   delete
           read       display
           write      inspect
                      reverseorder
                      raw
                      shift() factor()

Purpose

Handles raster files. Note that this command has no relation to the field rasters used for dose computation.

Parameters

file
Name of a raster file. Usually raster files have the extension .rst.
For read a (comma-separated) list of files may be specified, which, however, must be compatible. That is, they must have the same angle, SIS table, patient ID, etc. After successful read they are merged into a single raster.
import()
Not yet implemented.
export(fmt)
Exports current raster file in some non-native format, at present only gd is implemented to export for the gd plot program.
read
Read a raster specified by file.
write
Write the current raster to file. The scan path optimization algorithm is defined by the scancap command.
list
Lists some short info about the current raster.
delete
Deletes the current raster.
display
Displays the current raster. Not yet implemented.
inspect
Show some internal info about the current raster.
reverseorder
Writes raster slices in ascending energy order.
raw
Writes raster slices in raw, unprocessed mode, i.e. no suppression of positions with particle numbers of zero.
shift(offsetx,offsety)
On read or write add the specified offset (in mm) to all raster positions.
factor(fac)
On read or write multiply all particle numbers with the specified factor.
debug
Debug switch. Lots of output!

Remark

Raster files with a version number >= 19980701 contain couch and gantry angle. Earlier files are assigned default angles on input. These defaults are defined by the Scancap command

You may visualize raster scanner data using the rv shell command

Examples

  1. rst xxx.rst /read
    
    Reads the specified raster file.
  2. rst x1.rst,x2.rst /read
    
    Reads the specified raster files and merges them, if possible, into a single raster.
  3. rst my.rst.gd / export(gd)
    
    Exports current raster in gd format

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