Skip to content

The stf struct

palkma edited this page Nov 6, 2020 · 11 revisions

The stf struct holds all geometric information about the irradiation. The individual fields contain the following information.

Screenshot of the stf structure:

Field Description
gantry angle specification of the gantry angle for each beam in °. Range: 0° - 359°
couch angle specification of the couch angle for each beam in °. Range: 0°- 359°
bixel width Photons: lateral width of each bixel. Particles: lateral spot spacing.
radiation mode specification of the radiation mode. Options are: 'photons', 'protons' or 'carbon'.
number of Rays number of rays for each beam
ray the ray substructure contains the information about the position and orientation of each ray / bixel for a single beam.
source point position of the virtual radiation source in LPS coordinates.
number of bixels per ray Photons: each ray is a single bixel. Particles: number of bixels / dose spots along each ray
total number of bixels total number of bixels for each beam.
## stf.ray substructure The _stf.ray_ substructure contains the information about the position and orientation of each ray / bixel for a single beam.

Screenshot of the stf.ray substructure:

Field Description
ray position (beam's eye view) source point of the ray from the beam's eye view.
target point (beam's eye view) target point of the ray from the beam's eye view.
ray position (LPS-coordinates) source point of the ray in the LPS coordinate system.
target point (LPS-coordinates) target point of the ray in the LPS coordinate system.
energy Photons: NaN. Particles: Energy values of the dose spots along the ray. The number of energies corresponds to the number of bixels per ray.

stf.ray.energy substructure

The stf.ray.energy substructure contains all energy values for the spots along the specified ray. If the radiation mode 'Photons' was selected, it will be set to NaN.

Screenshot of the stf.ray.energy substructure:

stf.numOfBixels substructure

The stf.numOfBixels substructure contains the number of bixels / dose spots for every ray of the specified beam. This corresponds to the number of energy values per ray in the stf.ray substructure.

Screenshot of the stf.numOfBixels substructure:

Clone this wiki locally