Attention
Attention
Parameter File System
TOPAS-nBio is an extension to OpenTOPAS, which follows a consistent set of design paradigms. OpenTOPAS (from here on simply TOPAS) is controlled by a simple text file which is used to specify the all the simulation parameters.
Detailed documentation is provided on the TOPAS Parameter System. Here we provide a brief summary of the parameter syntax.
The system takes a set of “Parameters Files,” simple text files made up of lines of key/value pairs:
Parameter_Type : Parameter_Name = Parameter_Value # Optional comment
The order of lines within a parameter file does not matter.
A Parameter_Name can be almost any string, but we have prefix conventions to keep things clear:
Ma/for MaterialsEl/for ElementsIs/for IsotopesGe/for Geometry ComponentsSo/for Particle SourcesPh/for PhysicsCh/for Chemistry (introduced for TOPAS-nBio)Mo/for Chemical Molecules (introduced for TOPAS-nBio IRT)Vr/for Variance ReductionSc/for ScoringGr/for GraphicsTf/for Time FeaturesTs/for TOPAS overall control
The Parameter_Type tells TOPAS what type of data will be in this parameter:
dfor Dimensioned Doubleufor Unitless Doubleifor Integerbfor Booleansfor Stringdvfor Dimensioned Double Vectorsimilarly for
uv,iv,bvandsv
The Parameter_Name and Parameter_Value define what the line does. There are certain key parameters that will initiate the construction of, for example, a scorer or a geometry, which then causes TOPAS to look for necessary connected parameters, e.g. the size of the object.
Within TOPAS-nBio, many new components and options have been developed, the implementation and the required parameters are described on this site. For all other parameters covered by TOPAS, please refer to the OpenTOPAS documentation: TOPAS Parameter System.