nxtomomill.settings.Tomo#

class nxtomomill.settings.Tomo[source]#

Bases: object

__init__()#

Methods

__init__()

class EDF[source]#

Bases: object

EDF settings for tomography

DARK_NAMES = ('darkend', 'dark')#

Names identifying dark images in EDF files.

MACHINE_ELECTRIC_CURRENT = ('srcur', 'srcurrent')#

Keys used to store machine electric current values.

MOTOR_MNE = ('motor_mne',)#

Keys for motor names (mnemonics).

MOTOR_POS = ('motor_pos',)#

Keys for motor positions.

REFS_NAMES = ('ref', 'refHST')#

Names identifying reference images in EDF files.

ROT_ANGLE = ('srot', 'somega')#

Keys used to find the rotation angle.

TO_IGNORE = ('_slice_',)#

Fields to ignore when processing EDF files.

X_TRANS = ('sx',)#

Keys used to find x translation in EDF format.

Y_TRANS = ('sy',)#

Keys used to find y translation in EDF format.

Z_TRANS = ('sz',)#

Keys used to find z translation in EDF format.

class H5[source]#

Bases: object

HDF5 settings for tomography

ACQ_EXPO_TIME_KEYS = ('acq_expo_time',)#

Keys used to store acquisition exposure time.

ALIGNMENT_TITLES = ('static images', 'ascan diffrz 180 0 4 0.1')#

Titles for alignment scans.

DARK_TITLES = ('dark images', 'dark')#

Titles for dark scans.

DIODE_KEYS = ('fpico3',)#

Keys used to store diode dataset.

FLAT_TITLES = ('flat', 'reference images', 'ref', 'refend')#

Titles for reference scans (flat field images).

INIT_TITLES = ('tomo:basic', 'tomo:fullturn', 'sequence_of_scans', 'tomo:halfturn', 'tomo:multiturn', 'tomo:helical', 'tomo:holotomo')#

Initialization scan titles.

MACHINE_ELECTRIC_CURRENT_KEYS = ('current',)#

Keys used to store machine electric current values.

PCOTOMO_INIT_TITLES = ('tomo:pcotomo', 'pcotomo:')#

Specific titles for PCOTomo scans.

PROJ_TITLES = ('projections', 'ascan rot 0', 'ascan diffrz 0 180 1600 0.1')#

Titles for projection scans.

ROT_ANGLE_KEYS = ('rotm', 'mhsrot', 'hsrot', 'mrsrot', 'hrsrot', 'srot', 'srot_eh2', 'diffrz', 'hrrz_trig', 'rot')#

Keys used to find rotation angles.

SAMPLE_DETECTOR_DISTANCE_KEYS = ('technique/scan/sample_detector_distance',)#

Keys used to store the sample to detector distance.

SAMPLE_U_KEYS = ('sau', 'sx', 'px', 'ntx', 'shtx', 'hrx', 'fake_su')#

Keys used to find the U translation above the center of rotation (direction is dependent of the rotation angle).

SAMPLE_V_KEYS = ('sav', 'sy', 'py', 'nty', 'shty', 'hry2', 'fake_sv')#

Keys used to find the V translation above the center of rotation (direction is dependent of the rotation angle).

SAMPLE_X_KEYS = ('samx', 'psx', 'sax', 'fake_sx')#

Keys used to find the X translation above the center of rotation (direction is independent of the rotation angle).

SAMPLE_Y_KEYS = ('samy', 'psv', 'say', 'fake_sy')#

Keys used to find the Y translation above the center of rotation (direction is independent of the rotation angle).

SOURCE_SAMPLE_DISTANCE_KEYS = ('technique/scan/source_sample_distance',)#

Keys used to store the source to sample distance.

TRANSLATION_Y_KEYS = ('yrot', 'diffty', 'hry')#

Keys used to find the Y translation below the center of rotation.

TRANSLATION_Z_KEYS = ('sz', 'difftz', 'hrz', 'pz', 'ntz', 'samtz', 'mrsz')#

Keys used to find the Z translation below or above the center of rotation.

X_PIXEL_SIZE = ('technique/optic/sample_pixel_size', 'technique/detector/pixel_size')#

Possible paths to the pixel size along the x-axis.

Y_PIXEL_SIZE = ('technique/optic/sample_pixel_size', 'technique/detector/pixel_size')#

Possible paths to the pixel size along the y-axis.

ZSERIE_INIT_TITLES = ('tomo:zseries',)#

Specific titles for z-series scans.