Skip to content

Rename and deprecate detection keyword arguments#2217

Merged
larrybradley merged 8 commits intoastropy:mainfrom
larrybradley:det-renamed-depr
Mar 6, 2026
Merged

Rename and deprecate detection keyword arguments#2217
larrybradley merged 8 commits intoastropy:mainfrom
larrybradley:det-renamed-depr

Conversation

@larrybradley
Copy link
Member

This PR renames several keywords arguments in the detection package:

  • sharplo, sharphi -> sharpness_range
  • roundlo, roundhi -> roundness_range
  • peakmax -> peak_max
  • brightest -> n_brightest

The minsep_fwhm keyword argument for IRAFStarFinder is now deprecated. Use min_separation instead.

The default min_separation for DAOStarFinder, IRAFStarFinder, and StarFinder is now None, which computes a default separation of 2.5 * fwhm (or 2.5 * (min(kernel.shape) // 2) for StarFinder) consistent across all three star finders.

@larrybradley larrybradley merged commit eb405ba into astropy:main Mar 6, 2026
23 checks passed
@larrybradley larrybradley deleted the det-renamed-depr branch March 6, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant