httomo.sweep_runner.param_sweep_store_interfaces.ParamSweepSource#

class httomo.sweep_runner.param_sweep_store_interfaces.ParamSweepSource(*args, **kwargs)[source]#

Source for reading parameter sweep results from

Methods

__init__(*args, **kwargs)

read_sweep_results()

Returns a single block containing the middle slices extracted along extract_dim from each sweep result

Attributes

aux_data

Get auxiliary data

extract_dim

Dimension to extract middle slices along - 0, 1, or 2

no_of_sweeps

Number of parameter values used to generate sweep results

single_shape

Shape of single param sweep result

total_shape

Shape of 3D array that contains all param sweep results concatenated along extract_dim

property aux_data: AuxiliaryData#

Get auxiliary data

property extract_dim: Literal[0, 1, 2]#

Dimension to extract middle slices along - 0, 1, or 2

property no_of_sweeps: int#

Number of parameter values used to generate sweep results

read_sweep_results() ParamSweepBlock[source]#

Returns a single block containing the middle slices extracted along extract_dim from each sweep result

property single_shape: Tuple[int, int, int]#

Shape of single param sweep result

property total_shape: Tuple[int, int, int]#

Shape of 3D array that contains all param sweep results concatenated along extract_dim