mantidimaging.core.data.dataset module#

class mantidimaging.core.data.dataset.Dataset(*, name: str = '', stacks: list[ImageStack] | None = None, sample: ImageStack | None = None, flat_before: ImageStack | None = None, flat_after: ImageStack | None = None, dark_before: ImageStack | None = None, dark_after: ImageStack | None = None)[source]#

Bases: object

add_recon(recon: ImageStack) None[source]#
add_stack(stack: ImageStack) None[source]#
property all: list[ImageStack]#
property all_image_ids: list[UUID]#
delete_recons() None[source]#
delete_stack(images_id: UUID) None[source]#
property id: UUID#
property image_keys: list[int]#
property is_processed: bool#
Returns:

True if any of the data has been processed, False otherwise.

property nexus_arrays: list[ndarray]#
property nexus_rotation_angles: list[ndarray]#
property proj180deg: ImageStack | None#
property recons: ReconList#
set_stack(file_type: FILE_TYPES, image_stack: ImageStack) None[source]#
set_stack_by_type_name(file_type_name: str, image_stack: ImageStack) None[source]#
property sinograms: ImageStack | None#
property stacks: list[ImageStack]#
class mantidimaging.core.data.dataset.MixedDataset(*, name: str = '', stacks: list[ImageStack] | None = None, sample: ImageStack | None = None, flat_before: ImageStack | None = None, flat_after: ImageStack | None = None, dark_before: ImageStack | None = None, dark_after: ImageStack | None = None)[source]#

Bases: Dataset

class mantidimaging.core.data.dataset.StrictDataset(*, name: str = '', stacks: list[ImageStack] | None = None, sample: ImageStack | None = None, flat_before: ImageStack | None = None, flat_after: ImageStack | None = None, dark_before: ImageStack | None = None, dark_after: ImageStack | None = None)[source]#

Bases: Dataset

mantidimaging.core.data.dataset.remove_nones(image_stacks: list[ImageStack | None]) list[ImageStack][source]#