In `plate_solve()` use new WCS API
Opened this issue · 0 comments
bgottula commented
plate_solve()
is using all_pix2world()
which appears to be part of the legacy WCS API. I should probably be using pixel_to_world()
from the new API.
- Relevant code:
Lines 86 to 91 in 86d3686
- New API: https://docs.astropy.org/en/stable/wcs/wcsapi.html
pixel_to_world()
: https://docs.astropy.org/en/stable/api/astropy.wcs.wcsapi.BaseHighLevelWCS.html#astropy.wcs.wcsapi.BaseHighLevelWCS.pixel_to_world