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 #49561 is a reply to message #49555] Thu, 03 August 2006 07:12 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
adisn123@yahoo.com writes:
> Forgot one more thing.
>
> When applying "xyad" procedure to convert pixel coordinates to RA and
> DEC,
> the North direction of RA and DEC coords should align with the North
> direction of pixel coords?

It doesn't have to be aligned. It depends on how the telescope or
camera was pointed.

> If it is, then the image should be rotated in such a way that its North
> in RA and DEC should
> match with the North of pixel coords. I took a look at the image 's
> header to look for how many degrees I should rotate such that they
> align perfectly each other, but I can't find anything relevant to the
> rotation degrees.

Some FITS images have a CROTAn keyword. Others have a rotation
matrix, which is stored in CDn_n, I believe. More info can be found
here,
http://fits.gsfc.nasa.gov/fits_wcs.html

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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:09 PDT 2025

Total time taken to generate the page: 0.00387 seconds