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_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[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_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.