Inconsistent tables returned by DAOStarFinder and IRAFStarFinder
See original GitHub issueCurrently, DAOStarFinder
and IRAFStarFinder
says that it returns table containing specific columns. For example, see this link for DAOStarFinder
. However, when there is a problem or no stars are found, instead of returning an empty table with specified columns, these functions return a really very very empty table.
This leads to issues such as https://github.com/spacetelescope/jwst/issues/2716 or, to look directly at the code: https://github.com/spacetelescope/jwst/blob/d7daa6c9cc60fc9870add2950ca06a424056db28/jwst/tweakreg/tweakreg_catalog.py#L59
Specifically, code that relies on the presence of advertised columns will crash. In my opinion, these two classes should be consistent in the format of returned tables.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
DAOStarFinder — photutils 1.6.0 - Read the Docs
IRAFStarFinder always uses a 2D circular Gaussian kernel, while DAOStarFinder can use an elliptical Gaussian kernel. IRAFStarFinder calculates the objects' ...
Read more >photutils Documentation - Read the Docs
The aperture_photometry() function returns an Astropy Table with the ... The main differences between DAOStarFinder and IRAFStarFinder are:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eteq Yes, I’ve been discussing this and other deep philosophical thoughts on the meaning of emptiness offline with @mcara and he’s convinced me. 😄
Closed by #758