4.35. daofind

Runs DAOFind to detect sources on the image.


Fits.daofind(sigma: float = 3.0, fwhm: float = 3.0, threshold: float = 5.0) pd.DataFrame

Runs DAOFind to detect sources on the image.

Parameters

  • sigma (float, default=3.0):

    The number of standard deviations to use for both the lower and upper clipping limit. These limits are overridden by sigma_lower and sigma_upper, if specified. Default is 3. [1]

  • fwhm (float, default=3.0):

    The full-width half-maximum (FWHM) of the major axis of the Gaussian kernel in units of pixels. [2]

  • threshold (float, default=5.0):

    The absolute image value above which to select sources. [2]

Returns

pd.DataFrame

A DataFrame containing a list of sources found on the image.


4.35.1. Example:

from myraflib import Fits

fits = Fits.sample()

sources = fits.daofind()