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]#
- build_gallery()#
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_format: OutputFormat#
Output format of the images stored in the gallery
- property gallery_overwrite: bool#
- get_gallery_dir()#
- Return type:
str
- property metadata: dict#
- save_to_gallery(output_file_name, image, lower_bound=None, upper_bound=None)#
- Return type:
None
- to_dict()#
- property tomo_obj#