OutlierCallback¶
giant.stellar_opnav.visualizer
:
The class is used to represent an outlier shown to the user for review via the function
show_outlier()
and to store the user’s choice whether or not to remove the outlier from the matched star pairs.This typically is not used by the user directly. See
review_residuals()
orshow_outlier()
instead.- Parameters:
outlier_number (int) – The index of the outlier in the
matched_
properties of theStellarOpNav
classimage_number (int) – The index of the image in the
camera
attribute of aStellarOpNav
instance where the outlier represented byOutlierCallback
was foundcentroid (ndarray) – The pixel coordinates of the outlier in the image
plot (Figure) – The plot of the outlier
The number of the outlier in the image
Image number
Observed location
The plot which shows the outlier in question
A flag specifying whether the outlier has been removed by the user
This method sets the removed flag to 1 and closes the plot.
This method closes the plot.