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

Thomas Robitaille thomas.robitaille@gmail....
Thu Jun 13 03:03:42 CDT 2013


Just for the record, there's also the option to use Montage which I
wrote an Astropy affiliated package wrapper for:

http://www.astropy.org/montage-wrapper/

For example, Montage has an mRotate command that might come in handy
in cases like this.

Cheers,
Tom


On 12 June 2013 21:23, Eric L. N. Jensen <ejensen1@swarthmore.edu> wrote:
> 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,
>
> Eric
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>


More information about the AstroPy mailing list