[AstroPy] Question about WCS and coordinate system
Slavin, Jonathan
jslavin at cfa.harvard.edu
Thu Nov 14 13:16:30 EST 2013
I think that it does work on the pixel position, but how one plots the
pixels is controlled by matplotlib. By default the (0,0) pixel is plotted
at the upper left.
Jon
On Thu, Nov 14, 2013 at 1:00 PM, <astropy-request at scipy.org> wrote:
> Date: Thu, 14 Nov 2013 17:24:20 +0100
> From: Yannick Roehlly <yannick.roehlly at lam.fr>
> Subject: Re: [AstroPy] Question about WCS and coordinate system
> To: astropy at scipy.org
> Message-ID: <20131114172420.7e6b3f8b at lam.fr>
> Content-Type: text/plain; charset=UTF-8
>
> Le Thu, 14 Nov 2013 10:50:12 -0500,
> "Slavin, Jonathan" <jslavin at cfa.harvard.edu> a ?crit :
>
> > Judging from the E(B-V) image at
> >
> http://lambda.gsfc.nasa.gov/product/foreground/fg_images/med_ebv_image.png
> > I'd say your image is upside down. Try imshow with origin='lower' as
> > an argument.
>
> Hi Jon,
>
> Yes, but shouldn't the pix2world work on the actual pixel position?
>
> Yannick
>
--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
fax: (617) 496-7577 USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20131114/9d828247/attachment.html>
More information about the AstroPy
mailing list