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_total

angles dimension of the loaded data

detector_x

detector x-dimension of the loaded data

detector_y

detector y-dimension of the loaded data

package_name

pattern

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]) 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'#
pattern: Pattern = 2#