[AstroPy] [IoA] wcs.all_pix2world answering negative RA

Eduardo Bañados Torres eebanado at uc.cl
Mon Nov 30 11:46:52 EST 2015


usually ra%=360. does the trick

Eduardo

On Mon, Nov 30, 2015 at 7:03 AM, Yannick Roehlly <yannick.roehlly at gmail.com>
wrote:

> Oh yes you're right. I didn't notice. The strange thing is that both
> Aladin and DS9 manage to display the image from which this WCS comes with
> the correct coordinates.  Is there something they are correcting?
>
> Yannick
>
> 2015-11-30 15:36 GMT+01:00 Eduardo Gonzalez <eglez at ast.cam.ac.uk>:
>
>>
>>
>> On Mon, Nov 30, 2015 at 2:14 PM, Yannick Roehlly <
>> yannick.roehlly at gmail.com> wrote:
>>
>>>
>>> Is it expected? Am I missing something?
>>>
>>>
>> CRVAL1  =       -8.13584423065 / [deg] Coordinate value at reference point
>>
>> The R.A. at the reference point is negative in your WCS.
>>
>> Cheers,
>>
>> Eduardo
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> https://mail.scipy.org/mailman/listinfo/astropy
>>
>>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
>
>


-- 
Eduardo Bañados Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20151130/5885d3de/attachment.html>


More information about the AstroPy mailing list