You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WCS should accept / return coordinates objects #812
It might be nice to build in support so that conversions from world coordinates accept any Astropy coordinates object and conversions to world coordinates return a coordinates object as well (once Angle and other coordinate object accept arrays) . For example:
I very much still feel that wcs.utils.skycoord_to_pixel(coord, wcs) and wcs.utils.pixel_to_skycoord(x, y, wcs) do implement this feature, so suggest to close the issue.
Activity
mdboom commentedon Feb 25, 2013
I agree -- this would be nice, and shouldn't be too difficult. As for the naming, I've opened #815 for that.
bsipocz commentedon Jun 27, 2017
Isn't this solved now by #2885?
cc: @adrn @astrofrog
adrn commentedon Jun 27, 2017
I haven't been following...
bsipocz commentedon Mar 18, 2019
I very much still feel that
wcs.utils.skycoord_to_pixel(coord, wcs)andwcs.utils.pixel_to_skycoord(x, y, wcs)do implement this feature, so suggest to close the issue.astrofrog commentedon Mar 21, 2019
Yes but more importantly it's now implemented in the APE 14 WCS API!
http://docs.astropy.org/en/stable/wcs/wcsapi.html