httomo.runner.loader.LoaderInterface#
- class httomo.runner.loader.LoaderInterface(*args, **kwargs)[source]#
Interface to a loader object
Methods
__init__
(*args, **kwargs)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
get preview of the loaded data
- 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]) 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.
- method_name: str#
- package_name: str = 'httomo'#
- property preview: PreviewConfig#
get preview of the loaded data