httomo.runner.auxiliary_data.AuxiliaryData#

class httomo.runner.auxiliary_data.AuxiliaryData(angles: ndarray, darks: ndarray | None = None, flats: ndarray | None = None)[source]#

Keeps the darks and flats and angles auxiliary data together, and separate from the dataset.

This allows them to be updated on their own without being affected by chunks and blocks, etc., including the GPU/CPU transfers if needed.

Methods

__init__(angles[, darks, flats])

drop_darks_flats()

get_angles()

get_darks([gpu])

get_flats([gpu])

set_angles(angles)

set_darks(darks)

set_flats(flats)

Attributes

property angles_dtype: dtype#
property angles_length: int#
property darks_dtype: dtype | None#
property darks_shape: Tuple[int, int, int]#
drop_darks_flats()[source]#
property flats_dtype: dtype | None#
property flats_shape: Tuple[int, int, int]#
get_angles() ndarray[source]#
get_darks(gpu=False) ndarray | cupy.ndarray | None[source]#
get_flats(gpu=False) ndarray | cupy.ndarray | None[source]#
set_angles(angles: ndarray) None[source]#
set_darks(darks: ndarray | cupy.ndarray) None[source]#
set_flats(flats: ndarray | cupy.ndarray) None[source]#