[AstroPy] Rotating a FITS image (or just its WCS)

Eric L. N. Jensen ejensen1@swarthmore....
Wed Jun 12 14:23:34 CDT 2013

Thanks to everyone for the quick and helpful responses, as usual!

On Jun 12, 2013, at 1:06 PM, Marshall Perrin wrote:

> scipy.ndimage.interpolation.rotate
> http://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.interpolation.rotate.html

This did the trick - thanks!  

On Jun 12, 2013, at 1:09 PM, David Berry wrote:
> Have you tried using CDi_j instead of PCi_j? Or even good ol' CROTAi ?
> CASA must surely upport some way of rating an image, so it's got to be
> PCi_j, CDi_j or CROTA...

I looked at the CASA code, and it appears that rotation of the input file WCS is not yet supported by the 'simobserve' task I'm using.

Thanks again,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/astropy/attachments/20130612/b9dd6c89/attachment.html 

More information about the AstroPy mailing list