CompensationInputs#

class lsst.ts.mthexapod.CompensationInputs(elevation, azimuth, rotation, temperature)#

Bases: object

Input values for the compensation model.

Parameters:
  • elevation (float) – Telescope elevation (deg). Must be in range [0, 90].

  • azimuth (float) – Telescope azimuth (deg). Wrapped to [0, 360).

  • rotation (float) – Camera rotation angle (deg). Wrapped to [-180, 180].

  • temperature (float) – Ambient temperature (C). The range is not constrained, but compensation is constant outside a given range; see RangedPolynomial for details.

Raises:

ValueError – If elevation not in range [0, 90].

Attributes Summary

Methods Summary

field_names()

from_struct(data)

Construct an instance from any object with fields: maxXY, minZ, maxZ, maxUV, minW, maxW

Attributes Documentation

azimuth: float = <dataclasses._MISSING_TYPE object>#
elevation: float = <dataclasses._MISSING_TYPE object>#
rotation: float = <dataclasses._MISSING_TYPE object>#
temperature: float = <dataclasses._MISSING_TYPE object>#

Methods Documentation

classmethod field_names()#
Return type:

tuple[str, ...]

classmethod from_struct(data)#

Construct an instance from any object with fields: maxXY, minZ, maxZ, maxUV, minW, maxW

Parameters:

data (SimpleNamespace)

Return type:

Self