httomo.preview.Preview#
- class httomo.preview.Preview(preview_config: PreviewConfig, dataset: h5py.Dataset, image_key: h5py.Dataset | None)[source]#
Performs bounds checking of the slicing configuration, and calculations of the cropped data indices and global data shape.
Methods
__init__
(preview_config, dataset, image_key)Attributes
- property data_indices: List[int]#
- property global_shape: Tuple[int, int, int]#