|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| float | to_si (self, float value) |
| float | from_si (self, float value) |
Static Public Attributes | |
| float | offset = 0.0 |
| bool | canonical = False |
A unit, and how to get from it to this package's canonical one. ``si = value * factor + offset``. The offset exists for temperature and is zero for everything else; keeping it in the general form is cheaper than a special case that someone later forgets.
| float feedtwin.model.units.Unit.from_si | ( | self, | |
| float | value ) |
| float feedtwin.model.units.Unit.to_si | ( | self, | |
| float | value ) |
|
static |