tomoscan.validator#

Module containing validators

Functions

is_valid_for_reconstruction(scan[, ...])

check scan contains necessary and valid information to be reconstructed.

Classes

BasicScanValidator(scan[, check_vds, ...])

Check that a scan has some basic parameters as dark, flat...

DarkDatasetValidator(scan, check_vds, ...)

Check entries exists and values are valid

DarkEntryValidator(scan)

Check darks are present and valid

DistanceValidator(scan)

Check distance can be read and is not 0

EnergyValidator(scan)

Check energy can be read and is not 0

FlatDatasetValidator(scan, check_vds, ...)

Check entries exists and values are valid

FlatEntryValidator(scan)

Check flats are present and valid

PixelValidator(scan)

Check pixel size can be read and is / are not 0

ProjectionDatasetValidator(scan, check_vds, ...)

Check projections frames exists and values seems valid

ProjectionEntryValidator(scan)

Check at projections are present and seems coherent with what is expected

ReconstructionValidator(scan[, ...])

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

ValidatorBase()

Base validator class