tomoscan.validator.ReconstructionValidator

class tomoscan.validator.ReconstructionValidator(scan: TomoScanBase, check_phase_retrieval=True, check_values=False, check_vds=True, check_dark=True, check_flat=True)

Bases: BasicScanValidator

Check that a dataset/scan has enought valid parameters to be reconstructed by a software like nabu

__init__(scan: TomoScanBase, 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()

get_text_issue(n_issue)

get_text_no_issue()

is_valid()

run()

Attributes

check_phase_retrieval

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