mantidimaging.core.data.dataset module

class mantidimaging.core.data.dataset.BaseDataset(name: str = '')[source]

Bases: object

add_recon(recon: ImageStack)[source]
property all
property all_image_ids: List[UUID]
delete_recons()[source]
delete_stack(images_id: UUID)[source]
property id: UUID
property name: str
property sinograms: ImageStack | None
class mantidimaging.core.data.dataset.MixedDataset(stacks: List[ImageStack] | None = None, name: str = '')[source]

Bases: BaseDataset

add_stack(stack: ImageStack)[source]
property all: List[ImageStack]
delete_stack(images_id: UUID)[source]
class mantidimaging.core.data.dataset.StrictDataset(sample: 'ImageStack', flat_before: 'Optional[ImageStack]' = None, flat_after: 'Optional[ImageStack]' = None, dark_before: 'Optional[ImageStack]' = None, dark_after: 'Optional[ImageStack]' = None, name: 'str' = '')[source]

Bases: BaseDataset

property all: List[ImageStack]
dark_after: ImageStack | None = None
dark_before: ImageStack | None = None
delete_stack(images_id: UUID)[source]
flat_after: ImageStack | None = None
flat_before: ImageStack | None = None
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
sample: ImageStack
set_stack(file_type: FILE_TYPES, image_stack: ImageStack)[source]