Skip to content

Allow extract_stars to accept plain 2D arrays as input data - #2481

Merged
larrybradley merged 2 commits into
astropy:mainfrom
larrybradley:extract-stars-array-input
Oct 9, 2026
Merged

larrybradley merged 2 commits into
astropy:mainfrom
larrybradley:extract-stars-array-input

Conversation

@larrybradley

Copy link
Copy Markdown
Member

The extract_stars function now accepts a plain 2D array, or a list of 2D arrays, as the input data. An NDData object is needed only to input an uncertainty, a mask, or a WCS.

Closes #967

@larrybradley larrybradley added this to the 3.1.0 milestone Oct 9, 2026
@larrybradley
larrybradley merged commit 5f8a4b6 into astropy:main Oct 9, 2026
36 of 39 checks passed
@larrybradley
larrybradley deleted the extract-stars-array-input branch October 9, 2026 03:02
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.

Make extract_stars able to take plain Numpy arrays

1 participant