Transformation

class caqtus.device.output_transform.Transformation

Bases: ABC

Defines a transformation that can be applied to produce an output value.

abstractmethod evaluate(
variables: Mapping[DottedVariableName, Any],
) OutputValue

Evaluates the transformation using the given variables.

If the value returned is a quantity, it must be expressed in base units.