File extensions

FILE EXTENSION and FILE FORMATS
the various file types encountered in SIMIND are listed in the following sections.
On Unix systems all file  names are in lower case!   

Input files used by SIMIND
*.cr3
Represent table listings of cross-sectional data for various  materials. These files are written in ASCII and have an obscure  file format. The first four floating values in the first record are  the density for the material, the highest atomic number in the  compound and the corresponding K- a energy and fluorescence  yield for that material. The next value is an integer and is the  number of cross-section values in the four columns below. The  four additional floating values are reserved for future  development of pile-up simulations. The different cross-sections  for photo absorption, Compton, coherent and pair production are   then tabulated in column form. Last, atomic form factors and  the  incoherent scatter functions are tabulated in a special  compressed format.
*.dmi
Represent a binary density map file used to generate a non-  homogeneous phantom. These files should be in an INTEGER*2  format with 64x64 sized matrices. The pixel cell in the upper left  corner should be [1,1]. SIMIND reads it using a record length of  128 [VMS and ULTRIX/UNIX] and 512 [MicroSoft]. Access is  DIRECT and form is UNFORMATTED. The density of the phantom  should be a factor of 1000, i.e. for water [r=1.0 g/cm3], a pixel  value of 1000 should be used.
*.smc
Represent a listing of the input data created by the program  CHANGE. This file is an ASCII file that contains the information  defined in the CHANGE program. It has a very defined format and  should not be changed.
*.win
File that include the window settings used by the scattwin  progran, Each row is one window with lower and upper energy  threshold in keV.
*.inp
Represent a file that stores input data used by certain score,  source and isotop routines. The format may depend on the  routine but it is suggested to use the proper extension for  clarity.
*.smi
Represent a binary source distribution. These files are similar in  format to the files for the density maps [*.DMI] but represent a  source distribution instead of an arbitrary density distribution.  These files should be in an INTEGER*2 format with 64x64 sized  matrices. The pixel cell in the upper left corner should be [1,1].  SIMIND reads it using a record length of 128 [VMS and  ULTRIX/UNIX] and 512 [MicroSoft]. Access is DIRECT and form is   UNFORMATTED.
Output files created by SIMIND
*.a*
Represent the results of simulated SPECT projections. This binary   file consists of projection data in REAL*4 format. The file  contains either 64x64 matrices defined as MTX[1,1] in the upper  left corner or a sinogram where the first row is the projection  data for the first projection angle. For the non- sinogram  situation, the SPECT file is written using an equivalence one-  dimensional REAL*4 array[NRPROJ*8192]. Record length is 128  longwords [VMS and ULTRIX/UNIX] or 512 byte [MicroSoft].  Access is DIRECT and form is UNFORMATTED.
*.bim
Represent a binary matrix image created by the output of  SIMIND. This file is a REAL*4 binary file. It contains a 64x64  matrix defined as MTX[1,1] in the upper left corner. The file is  read and written using an equivalence one- dimensional REAL*4  array[4096]. Record length is 128 long words [ULTRIX/UNIX] or  512 byte [MicroSoft/Linux]. Access is DIRECT and form is  UNFORMATTED.
*.bis
Represent a binary energy spectra image created by the output  of SIMIND. This file is a REAL*4 binary file and contains a  spectrum of 512 channels. The first channel is the keV/channel  while the others represent the actual energy distribution. The  channels are equally spaced and the keV/channels can therefore  be used to create an ASCII file for plotting. The data was  written using a REAL*4 array[512]. Record length is 128 long  words [ULTRIX/UNIX] or 512 byte [MicroSoft/Linux]. Access is  DIRECT and form is UNFORMATTED.
*.res
Represent the results of the basic detector parameters  calculated from the simulation. It also contains input parameters  and statistics of the simulation.
*.hdr, *,h00


*.csv
Ascii file including header information for the Interfile v3.3 file  format.

A comma-separated file useful for importing to spreadsheets like  Excel. Created by Index 84.
Internal data files used by SIMIND and  CHANGE
*.a
Represents a library of compiled object files [UNIX-version].
*.col
Represent the collimator data-base file COLLIM.COL. This file is  stored in the special SMC directory. Description and listing of the   default file are shown in Appendix A.
*.key
Files containing Interfile v3.3 keys as defined by reference $.  SIMIND specific keys starts with two ;; characters
*.lib
Represent a library file of compiled object files for the DOS-  version that is used to build the SIMIND program from the  various subroutines.
*.num
Represent files consisting of random numbers used to initialize  the random number generator.
*.ini
The initialization files used to re-define some of the default  values. Can reside in local directory and i the special smc_dir
*.txt
Help files used by the CHANGE program.
*.err
Error file for SIMIND