LMAEstimator.compute_residuals¶
- LMAEstimator.compute_residuals(model=None)¶
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_image
for thecamera_frame_directions
for 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