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()

get_text_issue(n_issue)

get_text_no_issue()

is_valid()

run()

Attributes

scan

checkup(only_issues=False) str
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