BendModeToForce¶
- class lsst.ts.ofc.BendModeToForce(component, ofc_data)¶
Bases:
object
Transform Bend mode to forces.
- Parameters
- Raises
- RuntimeError
If the
component
attribute string is not a valid entry in theofc_data.bend_mode
dictionary. If the component name does not map into a valid entry in theofc_data.comp_dof_idx
dictionary.
- Attributes
Attributes Summary
Methods Summary
bending_mode
(force)Compute the bending mode.
force
(dof)Calculate the actuator forces in N based on the degree of freedom (DOF).
Attributes Documentation
- RCOND = 0.0001¶
Methods Documentation
- bending_mode(force)¶
Compute the bending mode.
- Parameters
- force
numpy.ndarray
Actuator forces in N.
- force
- Returns
numpy.ndarray
Estimated bending mode in um.
- force(dof)¶
Calculate the actuator forces in N based on the degree of freedom (DOF).
- Parameters
- dof
numpy.ndarray
Mirror DOF in um.
- dof
- Returns
numpy.ndarray
Actuator forces in N.