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

anglefloat

Inclinometer angle in degree.

offsetfloat, optional

Offset in degree. The default value is hard-coded in the LabVIEW’s project. (the default is 0.94)

Returns

angle_correctfloat

Corrected inclinometer angle in degree.