tomoscan.validator.BasicScanValidator#
- class tomoscan.validator.BasicScanValidator(scan, check_vds=True, check_dark=True, check_flat=True, check_values=False)#
Bases:
_ValidatorGroupMixIn
,ValidatorBase
Check that a scan has some basic parameters as dark, flat…
- __init__(scan, check_vds=True, check_dark=True, check_flat=True, check_values=False)#
Methods
__init__
(scan[, check_vds, check_dark, ...])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
scan
- 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