podi_diagnosticplots Module

Module containing all code pertaining to creating the diagnostic plots.

podi_diagnosticplots.diagplot_psfsize_map(ra, dec, fwhm, ota, output_filename, title=None, ota_outlines=None, options=None, also_plot_singleOTAs=True, title_info=None)[source]

Generate all PSF FWHM plots for the entire flocalplane and, optioanlly, for each OTA.

podi_diagnosticplots.photocalib_zeropoint(odi_mag, odi_magerr, sdss_mag, sdss_magerr, output_filename, zp_median, zp_std, sdss_filtername, odi_filtername, zp_upper1sigma=None, zp_lower1sigma=None, zp_distribfull=None, zp_distribclipped=None, title=None, options=None, also_plot_singleOTAs=False)[source]

Generate the photometric zeropoint plot

podi_diagnosticplots.photocalib_zeropoint_map(odi_mag, sdss_mag, ota, ra, dec, output_filename, sdss_filtername, odi_filtername, title=None, ota_outlines=None, options=None, also_plot_singleOTAs=True, allow_parallel=True)[source]

Prepare all necessary data and generate all photometric zeropoint maps.

podi_diagnosticplots.plot_psfsize_map(ra, dec, fwhm, output_filename, fwhm_range, title=None, ota_outlines=None, options=None)[source]

Generate a PSF size map, with points representing sources. The color of the point encodes the image quality / PSF FWHM.

podi_diagnosticplots.plot_wcsdiag_scatter(d_ra, d_dec, filename, extension_list, title='WCS Scatter', ota_stats=None, ota_global_stats=None)[source]

Function generating the WCS scatter plot from the given data.

podi_diagnosticplots.plot_wcsdiag_shift(radec, d_radec, filename, extension_list='png', ota_outlines=None, title=None)[source]

Function generating the WCS shift plot from the given data.

podi_diagnosticplots.plot_zeropoint_map(ra, dec, zp, ota_outlines, output_filename, options, zp_range)[source]

Plot the photometric zeropoint, color-coded, as function of position

podi_diagnosticplots.wcsdiag_scatter(matched_radec_odi, matched_radec_2mass, matched_ota, filename, options=None, ota_wcs_stats=None, also_plot_singleOTAs=True, title_info=None)[source]

Function preparing the data for WCS scatter plot and forwarding all plotting tasks to plot_wcsdiag_scatter

podi_diagnosticplots.wcsdiag_shift(matched_radec_odi, matched_radec_2mass, matched_ota, filename, options=None, ota_outlines=None, ota_wcs_stats=None, also_plot_singleOTAs=True, title_info=None)[source]

Function preparing the data for WCS shift plot and forwarding all plotting tasks to plot_wcsdiag_shift