tomoscan.validator.PixelValidator#

class tomoscan.validator.PixelValidator(scan)#

Bases: _ScanParamValidator

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

__init__(scan)#

Methods

__init__(scan)

clear()

info([with_scan])

is_valid()

rtype:

bool

run()

Return None if unable to find if valid or not.

Attributes

name

scan

rtype:

TomoScanBase | None

run()#

Return None if unable to find if valid or not. Otherwise a boolean

Return type:

bool | None