5.45. daofind¶
Runs daofind to detect sources on the image.
- FitsArray.daofind(index: int = 0, sigma: float = 3.0, fwhm: float = 3.0, threshold: float = 5.0) pd.DataFrame¶
Runs
daofindto detect sources on the image.References
[1] https://docs.astropy.org/en/stable/api/astropy.stats.sigma_clipped_stats.html [2] https://photutils.readthedocs.io/en/stable/api/photutils.detection.DAOStarFinder.html
Parameters
indexint, default=0The index of the
Fitsobject in theFitsArrayto rundaofindon.sigmafloat, default=3.0The number of standard deviations to use for both the lower and upper clipping limit. These limits are overridden by
sigma_lowerandsigma_upper, if input. The default is 3. [1]fwhmfloat, default=3.0The full-width half-maximum (FWHM) of the major axis of the Gaussian kernel in units of pixels. [2]
thresholdfloat, default=5.0The absolute image value above which to select sources. [2]
Returns
pd.DataFrameDataFrame containing the list of sources found on the image.
5.45.1. Example:¶
from myraflib import FitsArray
fa = FitsArray.sample()
sources = fa.daofind()