|
SIMIND command at the operating system prompt consists of the following parts:
-
The program name, SIMIND
-
An input file [optional].
-
An output file [optional]
-
Control switches [optional].
The example below considers a DOS operating system with possible differences to other
operating system in the prompt and the upper case of the characters:
c:\simind> simind input output/sc:3
The input file in the command line above, INPUT.SMC, defines a file created by
CHANGE
that contains the data for the particular simulation. No extensions are necessary since
CHANGE always creates files with the *.SMC extension. The output file[s] created by
SIMIND stores basic results from the simulation, a binary image and an energy pulse-
height spectrum. If not explicitly given, the output base file name, OUTPUT, will be equal
to the input file name but the different files are separated by different extensions. If no
input file name is given, the default file,simind.smc, will be used and the base name of
the output file will also be SIMIND.
Example of the program running on a PC

The user can control the input parameters created originally by
CHANGE at the
command level. This means that one single data file [for example, INPUT.SMC] can be
used for multiple simulations. Each value given by an index or by a flag in
CHANGE can
be overridden by a matching control switch. By giving a two- character alphanumeric
and a corresponding value, this new value takes precedence over the value defined by
CHANGE. More characters may be given for clarity but only the first two are used.
For example, overriding the value in the input file INPUT.SMC to CHANGE the number of
histories [Index 26 in CHANGE] to 10,000 is accomplished by the following command:
c:\simind> simind input output/26:10
The character ":" or "=" can be used to separate data from the switch name.
Note that
index's 1-9 must be assigned 01-09. The two switches "TR" and "FA" [TRUE and FALSE]
are used to control the simulation flags defined in
CHANGE. The following command can
be entered to reset Flag 1 [indicating no output to screen] and set simulation Flag 5
[invoke a SPECT simulation]:
c:\simind> simind input output/fa:1/tr:5
|