IterativeNonlinearLSTSQ.compute_residuals¶
- IterativeNonlinearLSTSQ.compute_residuals(model=None)[source]¶
This method computes the observed minus computed residuals for the current model (or an input model).
The residuals are returned as a 2xn numpy array where n is the number of stars observed with units of pixels.
The computed values are determined by calls to
model.project_onto_imagefor thecamera_frame_directionsfor each image.- Parameters:
model (CameraModel | None) – An optional model to compute the residuals using. If
None, then will usemodel.- Returns:
The observed minus computed residuals as a numpy array
- Return type:
ndarray