tomwer.core.process.drac.rawdataset.DracRawDataset#
- class tomwer.core.process.drac.rawdataset.DracRawDataset(tomo_obj, raw_darks_required=True, raw_flats_required=True, raw_projections_required=True, raw_projections_each=90)#
Class to associate a raw dataset (TomwerScanBase) to an icat (raw) dataset
- property bliss_raw_datasets: tuple[str]#
- build_gallery()#
callback to build the drac-dataset gallery
- static get_closest_projection(angle, angles_list)#
- static get_data_dir(scan)#
Deduce (bliss) data directory from a scan. If the scan can get the information from ‘get_bliss_original_files’ then we use it as this is most reliable information. Else we use the nxtomo location as a fallback (in case the data doesn’t comes from bliss for example).
- Return type:
str | None
- property metadata: dict#
- property raw_darks_required: bool#
- property raw_flats_required: bool#
- property raw_projections_each: float#
- property raw_projections_required: bool#
- static select_angles(angles_list, each_angle)#
- Return type:
tuple