select_axial_hardpoints

lsst.ts.m2com.select_axial_hardpoints(location_axial_actuator: list[list], specific_axial_hardpoint: int) list[int]

Select the axial hardpoints based on the specific axial hardpoint.

Notes

Translate the calculation from the OptAxHardpointSelect.m in ts_mtm2_matlab_tools.

The idea is to maximize the triangle constructed by 3 axial actuators, which means it should be closed to the equilateral triangle.

Parameters

location_axial_actuatorlist

Location of the axial actuators: (x, y). This should be a 72 x 2 matrix.

specific_axial_hardpointint

Specific axial hardpoint.

Returns

hardpointslist

Selected 3 axial hardpoints that contains the specific axial hardpoint. The order is from low to high.