tomoscan.validator.ReconstructionValidator#
- class tomoscan.validator.ReconstructionValidator(scan, check_phase_retrieval=True, check_values=False, check_vds=True, check_dark=True, check_flat=True)#
Bases:
BasicScanValidatorCheck that a dataset/scan has enough valid parameters to be reconstructed by a software like nabu
- __init__(scan, check_phase_retrieval=True, check_values=False, check_vds=True, check_dark=True, check_flat=True)#
Methods
__init__(scan[, check_phase_retrieval, ...])checkup([only_issues])compute a short text with:
clear()- rtype:
None
get_text_issue(n_issue)- rtype:
str
get_text_no_issue()- rtype:
str
is_valid()- rtype:
bool
run()- rtype:
bool
Attributes
check_phase_retrievalscan- checkup(only_issues=False)#
- compute a short text with:
if only_issues is False: all information checked and the status of the information
if only_issues is true: all mandatory information missing
- Return type:
str