tomoscan.validator.EnergyValidator#

class tomoscan.validator.EnergyValidator(scan)#

Bases: _ScanParamValidator

Check energy 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