httomo.transform_loader_params

httomo.transform_loader_params#

Classes

PreviewParam

Preview configuration dict.

RawAnglesParam

Angles configuration dict for when the rotation angle values are in a dataset within the input NeXuS/hdf5 file.

StartStopEntry

Configuration for a single dimension's previewing in terms of start/stop values.

UserDefinedAnglesParam

Angles configuration dict for when the rotation angle values are manually defined (rather than taken from the input NeXuS/hdf5 file).

UserDefinedAnglesParamInner

Start, stop, and total angles configuration to generate the rotation angle values.

Functions

parse_angles(angles_data)

Convert python dict representing angles information generated from parsing the pipeline file, into an internal angles configuration type that loaders can use.

parse_preview(param_value, data_shape)

Convert python dict representing preview information generated from parsing the pipeline file, into an internal preview configuration type that loaders can use.

Types that represent python dicts for angles and preview configuration which are generated from parsing a pipeline file into python, and functions to transform these python dicts to internal types that loaders can use.