comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: convert to pixel to RA and DEC in degrees?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: convert to pixel to RA and DEC in degrees? [message #49581 is a reply to message #49561] Wed, 02 August 2006 09:57 Go to previous messageGo to previous message
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
xyad.pro in the IDL Astronomy library does return the RA and Dec vectors as
double precision

IDL> xyad,h,23,23,aa,dd
IDL> help,aa,dd
AA DOUBLE = -0.0063888890
DD DOUBLE = 0.0063888890

Perhaps you are confused by the optional printing, which is to display to
tenths of a degree in declination

IDL> xyad,h,23,23
X Y RA DEC RA_2000 DEC_2000
23.00 23.00 -0.0064 0.0064 23 59 58.47 +00 00 23.0

The hr mn sc display format can be adjusted using the the PRECISION keyword

IDL> xyad,h,23,23,precis=4
X Y RA DEC RA_2000 DEC_2000
23.00 23.00 -0.0064 0.0064 23 59 58.46667 +00 00 23.0000

--Wayne

<adisn123@yahoo.com> wrote in message
news:1154536095.539610.137920@i3g2000cwc.googlegroups.com...
> Does anyone know a procedure which does converting job from pixel
> coordinates to RA and DEC in degrees using the image's fits header?
>
> I know there is xyad procedure in IDL library, but I want my result
> goes up to double precision.
>
> Is there any better one than xyad?
>
> Thanks.
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading ASCII data from multiple files into one array?
Next Topic: Re: Reading ASCII data from multiple files into one array?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:21:10 PDT 2025

Total time taken to generate the page: 0.00168 seconds