residuals_vs_temperature

giant.stellar_opnav.visualizers.residuals_vs_temperature:

giant.stellar_opnav.visualizers.residuals_vs_temperature.residuals_vs_temperature(sopnav, pdf_name=None, show=True)[source]

This function generates a scatter plot of x and y residuals versus image temperature from the matched catalog stars for a given stellar opnav object.

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

If the pdf_name param is provided, the figures will be saved to a pdf file of the same name, and will not be displayed interactively.

Parameters:
  • sopnav (StellarOpNav) – The stellar opnav object to plot the scatters for

  • pdf_name (Path | str | None) – Used as the file name for saving the figures to a pdf

  • show (bool) – whether to call plt.show (only checked if pdf_name is None)