AutoSourceDetection#
- class prose.blocks.detection.AutoSourceDetection(threshold=4, n=None, sort=True, min_separation=None, name=None, min_area=0, minor_length=0)[source]#
Detect all sources.
read
Image.data
write
Image.sources
- 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 (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
name (str, optional) – name of the block, by default None