astropy / photutils

Astropy package for source detection and photometry. Maintainer: @larrybradley
https://photutils.readthedocs.io
BSD 3-Clause "New" or "Revised" License
250 stars 138 forks source link

Allow find_peaks border_width to be different along x and y #1957

Closed larrybradley closed 6 days ago

larrybradley commented 6 days ago

The find_peaks border_width keyword can now accept two values, indicating the border width along the the y and x edges, respectively.

When exclude_border is set to True in the DAOStarFinder and StarFinder classes, the excluded border region can be different along the x and y edges if the kernel shape is rectangular.