CalibrationStatus#

class CalibrationStatus(value: int)[source]#

Bases: int, Sequence

Wrapper around a Impedance module status.

LabOne reports a status for the impedance module as integers. The integer needs to be interpreted in a binary format where each bit represents a stage within the compensation. If the bit is set it means that the step is completed.

This class wraps around this by both deriving from an integer and a Sequence. Therefore one can use it like a int but also access the individual steps through items (e.g. module.step[0]).

Parameters:

value (int) – Integer value of the status.

New in version 0.5.1.

Methods

Attributes