IterativeNonlinearLSTSQ.estimate¶
- 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, thesuccessful
will returnTrue
, andpostfit_residuals
andpostfit_covariance
should both be not None. If estimation is unsuccessful, thensuccessful
should be set toFalse
.The estimation is done using nonlinear iterative least squares, as discussed in the class documentation (
IterativeNonlinearLSTSQ
).- Raises:
ValueError – if
model
,measurements
, orcamera_frame_directions
areNone
.- Return type:
None