[AstroPy] Error in pixel to sky coordinate conversion with astropy.wcs

David Berry d.berry at jach.hawaii.edu
Wed Apr 30 02:32:00 EDT 2014


Hi Angelo,
                      There are examples of how to use pyast at

http://dsberry.github.io/starlink/node4.html

The two sections "Read a WCS Calibration from a Dataset" and  "Convert
Between Pixel and World Coordinates" may be the ones of most interest
to you.

David


On 29 April 2014 22:44, Angelo Varlotta <avarlotta at cfa.harvard.edu> wrote:
> Hello,
> Thanks a lot for the help. I've installed PyAST on my computer and I'm now
> trying to understand how to implement the coordinate transformation I need.
> Is anyone familar with PyAST and if so, can anyone suggest the code to
> transform from pixel to sky coordinates and viceversa?
>
> Cheers,
> Angelo
>
> Kyle Barbary wrote:
>
> Here's more information that you'd probably want to know:
>
> https://github.com/astropy/astropy/issues/299
>
> The short answer is that the PVi_j keywords used by SCAMP are not supported
> by astropy.wcs, so there's not much you can do except to use a different
> tool.
> - Kyle
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>



More information about the AstroPy mailing list