atef.check

Dataclasses for describing comparisons. Comparisons generally subclass Comparison, which hold Value and DynamicValue objects. Comparisons involving DynamicValue must be prepared before comparisons can be run.

Classes

AnyComparison(name, description, invert, ...)

Comparison passes if any contained comparison passes.

AnyValue(name, description, invert, ...)

Comparison passes if the value is in the values list.

BasicDynamic(name, description, invert, ...)

Comparison([name, description, invert, ...])

Base class for all atef value comparisons.

DynamicValue([value, reduce_period, ...])

A primitive value from an external source that may change over time.

EpicsValue([value, reduce_period, ...])

A primitive value sourced from an EPICS PV.

Equals(name, description, invert, ...)

Greater([name, description, invert, ...])

Comparison: value > self.value.

GreaterOrEqual([name, description, invert, ...])

Comparison: value >= self.value.

HappiValue([value, reduce_period, ...])

A primitive value sourced from a specific happi device signal.

Less([name, description, invert, ...])

Comparison: value < self.value.

LessOrEqual([name, description, invert, ...])

Comparison: value <= self.value.

NotEquals(name, description, invert, ...)

Range([name, description, invert, ...])

A range comparison.

Value(value[, description, rtol, atol, severity])

A primitive (static) value with optional metadata.

ValueRange(low, high[, inclusive, in_range, ...])

A range of primitive values with optional metadata.

ValueSet(name, description, invert, ...)

A set of values with corresponding severities and descriptions.