Local peak detection

8.3. Local peak detection#

Peak detection finds sources by identifying local maxima above a given threshold and separated by a given distance, rather than trying to fit data to a given model like a Gaussian. It can be particularly useful for identifying non-stellar sources or heavily distorted sources in image data.