PositionLimits#

class lsst.ts.mthexapod.PositionLimits(maxXY, minZ, maxZ, maxUV, minW, maxW)#

Bases: object

Position limits.

The field names match those used in the SAL MTHexapod configureLimits command and config event. The order of the fields matches the order of parameters in the low-level controller command to configure limits.

Parameters:
  • maxXY (float) – Maximum absolute value of x and y, i.e. symmetrical about 0 (um).

  • minZ (float) – Minimum value of z (um)

  • maxZ (float) – Maximum value of z (um)

  • maxUV (float) – Maximum absolute value of u and v, i.e. symmetrical about 0 (deg).

  • minW (float) – Minimum value of w (deg)

  • maxW (float) – Maximum value of w (deg)

  • ExceptionClass (Exception, optional) – Exception class to raise.

Raises:

ExceptionClass – If maxXY <= 0, maxZ <= minZ, maxUV <= 0, or maxW <= minW.

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

maxUV: float = <dataclasses._MISSING_TYPE object>#
maxW: float = <dataclasses._MISSING_TYPE object>#
maxXY: float = <dataclasses._MISSING_TYPE object>#
maxZ: float = <dataclasses._MISSING_TYPE object>#
minW: float = <dataclasses._MISSING_TYPE object>#
minZ: 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