tomwer.core.process.drac.dracbase.DracDatasetBase#

class tomwer.core.process.drac.dracbase.DracDatasetBase(data_dir, tomo_obj)#

Abstract class for a drac dataset (that should be publish to the data portal). A drac dataset is defined by the following elements: * a directory * metadata

property bliss_raw_datasets: tuple[str]#

callback to build the drac-dataset gallery

property data_dir#
property dataset_name: str#

Return the name of the dataset to be given to the drac dataset. A drac dataset is store according to a (dataset_path, dataset_name). By default if several are pushed with the same key, only the most recent one will be stored

static from_scan_to_raws(scan)#
property gallery_output_binning: Binning#

Binning factor to be used when saving gallery images

property gallery_output_format: OutputFormat#

Output format of the images stored in the gallery

property gallery_overwrite: bool#
Return type:

str

property metadata: dict#
Return type:

None

to_dict()#
property tomo_obj#