show_outlier

giant.stellar_opnav.visualizer:

giant.stellar_opnav.visualizer.show_outlier(sopnav, index, image_num, residuals)[source]

This function generates a figure for a specified outlier in the given image number in sopnav.

In the generated figure the matched catalogue projected star location is shown with one marker, and the matched image point of interest is shown with another. In addition, a vector is drawn indicating the residual for the matched star pair.

You must have called id_stars() at least once before calling this function.

Parameters:
  • sopnav (StellarOpNav) – The StellarOpNav instance containing the star identification results

  • index (int) – The index of the outlier

  • image_num (int) – The index of the image in the StellarOpNav.camera attribute

  • residuals (ndarray) – np.ndarray of the residuals between the matched catalogue projected star locations and the matched image points of interest for the given image number in the StellarOpNav.camera attribute

Return type:

OutlierCallback