class prose.blocks.detection.PointSourceDetection(unit_euler=False, min_area=3, minor_length=2, **kwargs)[source]#

Detect point sources (as PointSource).

read Image.data

write Image.sources

  • unit_euler (bool, optional) – whether to consider sources with euler number == 1, by default False

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

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

  • 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

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