Geometry

The following documentation has been generated automatically from the comments found in the code.

class Parameters_module.Parameters

The input variables are read from the input file. The input file is written with python syntax. The Input file is interpreted as python after a preprocessing The preprocessing was introduced at the time of HST-> PYHST transition to maintaing compatibility with:

  • NO/YES meaning 0/1

  • items containing FILE in their name can be initialized without using the “” which are otherwise necessary for strings

The input file has to set (some of) the following variables. To setup easily an input file you are suggested to start from one of the examples given in the doc.

ANGLES_FILE = None

If set to a filename, the projection angles(degree) are read from that file instead of being created as an equispaced array with step=ANGLE_BETWEEN_PROJECTIONS

ANGLE_BETWEEN_PROJECTIONS = 0.0

The angular step(degree) between projections.

ANGLE_OFFSET = 0.0

use this if you want to obtain a rotated reconstructed slice.

END_VOXEL_1 = 1

X-end (inclusive) of reconstruction volume

END_VOXEL_2 = 1

Y-end (inclusive) of reconstruction volume

END_VOXEL_3 = 1

Z-end (inclusive) of reconstruction volume

NUM_IMAGE_1 = 1

Number of pixels horizontally (take into account binning : smaller if binning > 1 )

NUM_IMAGE_2 = 0

Number of pixels vertically (take into account binning )

ROTATION_AXIS_POSITION = 0

Axis position in pixels

ROTATION_VERTICAL = 1

If horizontal data are rotated at reading time Then all parameter as if axis were vertical

START_VOXEL_1 = 1

X-start of reconstruction volume This value and the others define the reconstructed region

START_VOXEL_2 = 1

Y-start of reconstruction volume This value and the others define the reconstructed region

START_VOXEL_3 = 1

Z-start of reconstruction volume This value and the others define the reconstructed region