DAOFindStars#

class prose.blocks.detection.DAOFindStars(sigma_clip=2.5, lower_snr=5, fwhm=5, n_stars=None, min_separation=None, sort=True, name=None)[source]#

DAOPHOT stars detection with photutils implementation.

write Image.stars_coords and Image.peaks

Parameters:
  • sigma_clip (float, optional) – sigma clipping factor used to evaluate background, by default 2.5

  • lower_snr (int, optional) – minimum snr (as source_flux/background), by default 5

  • fwhm (int, optional) – typical fwhm of image psf, by default 5

  • n_stars (int, optional) – maximum number of stars to consider, by default None

  • min_separation (float, optional) – minimum separation between sources, by default 5.0. If less than that, close sources are merged

  • sort (bool, optional) – whether to sort stars coordinates from the highest to the lowest intensity, by default True

Base class for sources detection.

read Image.data

Parameters:
  • threshold (float, optional) – detection threshold for sources, by default 4

  • n (int, optional) – number of sources to detect, by default None

  • sort (bool, optional) – whether to sort per ADU peak value (from the greatest), by default True

  • min_separation (float, optional) – minimum separation in pixels from one source to the other. Between two sources, greater ADU is kept, by default None

  • min_area (float, optional) – minimum area in pixels of the sources to detect, by default 0

  • minor_length (float, optional) – minimum length of semi-major axis of sources to detect, by default 0

  • name (str, optional) – name of the block, by default None