StateEstimator¶
- class lsst.ts.ofc.StateEstimator(ofc_data: OFCData, rcond: float = 0.001, log: logging.Logger | None = None)¶
Bases:
object
(Optical) State Estimator.
Estimate the state of the optics in the basis of the degree of freedom (DOF).
Parameters¶
- ofc_data
OFCData
Data container.
- log
logging.Logger
orNone
Optional logging class to be used for logging operations. If
None
, creates a new logger.
Attributes¶
- log
logging.Logger
Logger class used for logging operations.
- ofc_data
OFCData
OFC data container.
- RCOND
float
Cutoff for small singular values, used when computing pseudo-inverse matrix.
Methods Summary
dof_state
(filter_name, wfe, sensor_names, ...)Compute the state in the basis of degrees of freedom.
Methods Documentation
- dof_state(filter_name: str, wfe: ndarray[float], sensor_names: list, rotation_angle: float) ndarray[float] ¶
Compute the state in the basis of degrees of freedom.
Solve y = A*x by x = pinv(A)*y.
Parameters¶
- filter_name
string
Name of the filter. Must be in
self.intrinsic_zk
.- wfe
numpy.ndarray
Wavefront error im um.
- sensor_names
list
List of sensor names.
- rotation_angle
float
Rotation angle in degrees.
Returns¶
- numpy.ndarray
Optical state in the basis of DOF.
- filter_name
- ofc_data