httomo.preview

httomo.preview#

Classes

Preview(preview_config, dataset, image_key)

Performs bounds checking of the slicing configuration, and calculations of the cropped data indices and global data shape.

PreviewConfig(angles, detector_y, detector_x)

Slicing configuration for all three dimensions in the 3D input data.

PreviewDimConfig(start, stop)

Slicing configuration for a single dimension in the 3D input data, in the form of start, stop, step.

Slicing configuration types used by loaders to crop the input data.