correct_inclinometer_angle¶
- lsst.ts.m2com.correct_inclinometer_angle(angle: float, offset: float = 0.94) float ¶
Correct the inclinometer’s value and make sure to limit the resulting value to the indicated range: (-270, 90).
Notes¶
This function is translated from vendor’s original LabVIEW code: “CorrectInclinometer.vi” in ts_mtm2_cell. The hard-coded range is related to the configuration of inclinometer in the mirror assembly.
Parameters¶
- angle
float
Inclinometer angle in degree.
- offset
float
, optional Offset in degree. The default value is hard-coded in the LabVIEW’s project. (the default is 0.94)
Returns¶
- angle_correct
float
Corrected inclinometer angle in degree.
- angle