StateEstimator¶
- class lsst.ts.ofc.StateEstimator(ofc_data: OFCData, rcond: int = 0.001, log: Logger = 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.
- ofc_data
- 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.
- log
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, sensor_names: list, rotation_angle: float) ndarray ¶
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.
- filter_name
- Returns
- numpy.ndarray
Optical state in the basis of DOF.