tomoscan.validator.is_valid_for_reconstruction¶
- tomoscan.validator.is_valid_for_reconstruction(scan: TomoScanBase, need_phase_retrieval: bool = True, check_values: bool = False)¶
check scan contains necessary and valid information to be reconstructed.
- Parameters:
scan (TomoScanBase) – scan to be checked
check_values (bool) – If true check data for phase retrieval (energy, sample/detector distance…)
check_datasets (bool) – open datasets to check for nan values or broken links to file