ReverseLinearScaler#
- class ReverseLinearScaler(gain: float, offset: float, units: str)[source]#
Bases:
Scaleroutput = (raw - offset) / gain— inverse ofLinearScaler, e.g. to back out a measurement amplifier.
Attributes
Physical units of the scaled output (e.g. |
Methods
Convert a raw DAQ reading to a physical value in |