seeing_plot#
- stellarphot.plotting.seeing_plot(raw_radius, raw_counts, binned_radius, binned_counts, HWHM, plot_title='', file_name='', photometry_settings=None, figsize=(20, 10))[source]#
Show a seeing plot for data from an image with radius on the x axis and counts (ADU) on the y axis.
- Parameters:
- raw_radiusarray
the distance of each pixel from the object of interest
- raw_countsarray
the counts of each pixel
- binned_radiusarray
pixels grouped by distance from object of interest
- binned_countsarray
average counts of each group of pixels
- HWHMnumber
half width half max, 1/2 * FWHM
- plot_titleoptional, string
title of plot
- file_nameoptional, string
if entered, file will save as png with this name
- photometry_settingsoptional,
stellarphot.settings.PhotometryApertures The aperture settings used to create the plot. If not provided, the aperture radius will be set to 4 * HWHM, the inner annulus will be set to radius + 10, and the outer annulus will be set to radius + 25, and the FWHM will be set to 2 * HWHM.
- figsizetuple of int, optional
Size of figure.
- Returns:
matplotlib.pyplot.figureThe figure object containing the seeing plot.