calc_peak_flux_ratio_on_sky¶
- paarti.utils.maos_utils.calc_peak_flux_ratio_on_sky(img, coords, radius, skysub)[source]¶
- img2D numpy array
The image on which to calculate the flux ratio of the peak to a wide-aperture.
- coordslist or numpy array, length = 2
The x and y position of the source.
- radiusint
The radius, in pixels, of the wide-aperture.
- skysubboolean
Option to perform sky subtraction.