httomo.loaders.standard_tomo_loader.StandardLoaderWrapper#
- class httomo.loaders.standard_tomo_loader.StandardLoaderWrapper(comm: mpi4py.MPI.Comm, in_file: Path, data_path: str, image_key_path: str | None, darks: DarksFlatsFileConfig, flats: DarksFlatsFileConfig, angles: RawAngles | UserDefinedAngles, preview: PreviewConfig)[source]#
Wrapper around StandardTomoLoader to provide its functionality as a data source to the runner, while also giving the runner an implementor of LoaderInterface.
Methods
__init__
(comm, in_file, data_path, ...)make_data_source
([padding])Create a dataset source that can produce padded blocks of data from the file.
Attributes
angles dimension of the loaded data
detector x-dimension of the loaded data
detector y-dimension of the loaded data
method_name
- property angles_total: int#
angles dimension of the loaded data
- property detector_x: int#
detector x-dimension of the loaded data
- property detector_y: int#
detector y-dimension of the loaded data
- make_data_source(padding: Tuple[int, int] = (0, 0)) DataSetSource [source]#
Create a dataset source that can produce padded blocks of data from the file.
This will be called after the patterns and sections have been determined, just before the execution of the first section starts.