tomoscan.validator.DistanceValidator#
- class tomoscan.validator.DistanceValidator(scan)#
Bases:
_ScanParamValidator
Check distance can be read and is 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
- run()#
Return None if unable to find if valid or not. Otherwise a boolean