BendModeToForce¶
- class lsst.ts.ofc.BendModeToForce(component: str, ofc_data: OFCData)¶
Bases:
object
Bending mode class to compute actuator forces and mirror stresses from bending modes and retrieve bending modes from actuator forces.
Parameters¶
- component
string
Name of the component. Must be in the
ofc_data.bend_mode
dictionary.- ofc_data
OFCData
Data container class.
Attributes¶
- component
string
Name of the component in the
ofc_data.bend_mode
dictionary.- ofc_data
OFCData
OFC data container class.
- RCOND
float
Cutoff for small singular values, used when computing pseudo-inverse matrix.
- bending_mode_stresses_positive
np.ndarray[float]
Bending mode stresses in psi/um for tensile stress.
- bending_mode_stresses_negative
np.ndarray[float]
Bending mode stresses in psi/um for compressive stress.
- rot_mat
np.ndarray[float]
Influence matrix relating bending mode to actuator force.
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 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).
Calculated mirror stress in psi per bending mode of the mirror.
Attributes Documentation
- RCOND = 0.0001¶
Methods Documentation
- bending_mode(force: ndarray[float]) ndarray[float] ¶
Compute the bending mode.
Parameters¶
- force
numpy.ndarray
Actuator forces in N.
Returns¶
numpy.ndarray
Estimated bending mode in um.
- force
- component