PositionLimits

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

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:
maxXYfloat

Maximum absolute value of x and y, i.e. symmetrical about 0 (um).

minZfloat

Minimum value of z (um)

maxZfloat

Maximum value of z (um)

maxUVfloat

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

minWfloat

Minimum value of w (deg)

maxWfloat

Maximum value of w (deg)

ExceptionClassException, optional

Exception class to raise.

Raises:
ExceptionClass

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

Methods Summary

field_names()

from_struct(data)

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

Methods Documentation

classmethod field_names() tuple[str, ...]
classmethod from_struct(data: SimpleNamespace) Self

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