Make extract_stars able to take plain Numpy arrays
Open
epsf_builder
psf
- Dominant language
- Python
- Stars
- 307
- Forks
- 156
- Avg merge
- 56m
- Merged PRs (30d)
- 58
Description
It would be nice to not have to create an NDData object just for ``extract_stars`` - other parts of photutils support plain Numpy arrays. Maybe ``extract_stars`` could include the ``@support_nddata`` decorator:
http://docs.astropy.org/en/stable/api/astropy.nddata.support_nddata.html
Contributor guide
Research direction
Locate the extract_stars entry point and review how other photutils functions use Astropy's support_nddata decorator. Check the linked support_nddata documentation, then verify that plain NumPy arrays and NDData objects are both accepted by extract_stars without changing its existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100