IterativeNonlinearLSTSQ.estimate

giant.calibration.estimators:

IterativeNonlinearLSTSQ.estimate()[source]

Estimates an updated camera model that better transforms the camera frame directions into pixel locations to minimize the residuals between the observed and the predicted star locations.

Upon successful completion, the updated camera model is stored in the model attribute, the successful will return True, and postfit_residuals and postfit_covariance should both be not None. If estimation is unsuccessful, then successful should be set to False.

The estimation is done using nonlinear iterative least squares, as discussed in the class documentation (IterativeNonlinearLSTSQ).

Raises:

ValueError – if model, measurements, or camera_frame_directions are None.

Return type:

None