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_dataOFCData

Data container.

loglogging.Logger or None

Optional logging class to be used for logging operations. If None, creates a new logger.

Attributes
loglogging.Logger

Logger class used for logging operations.

ofc_dataOFCData

OFC data container.

RCONDfloat

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, 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_namestring

Name of the filter. Must be in self.intrinsic_zk.

wfenumpy.ndarray

Wavefront error im um.

sensor_nameslist

List of sensor names.

rotation_anglefloat

Rotation angle in degrees.

Returns
numpy.ndarray

Optical state in the basis of DOF.