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

Home » Public Forums » archive » Tool for converting FK4/FK5
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: Tool for converting FK4/FK5 [message #93168 is a reply to message #93165] Thu, 05 May 2016 07:50 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
Oops, I just realize what you meant by "one position" -- you want to transform the FITS headers.

Although it is not documented, HPRECESS does calls jprecess if the input year is 1950 and the output year is 2000, and calls bprecess if the input year is 2000 and the output year is 1950. This is just what (I think) you want.

On Thursday, May 5, 2016 at 9:48:42 AM UTC-4, miguelfigue...@gmail.com wrote:
> Hi,
>
> I am currently working with two fits files but with different coordinates system.
> One is the FK4 (B1950) and the other is FK5 (J2000) and I would like to know if there is a procedure in IDL to convert from one to another.
> I have found the (j/b)precess but it works for only for one position and hprecess converts only the equinox in the FK5 system.
>
> I prefer IDL but if you know something in Python, it would be great.
>
> Thanks for your help.
>
> Miguel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: checking a special character in a single string
Next Topic: Orthographic projection using parametrized ellipsoid

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

Current Time: Thu Oct 09 23:43:15 PDT 2025

Total time taken to generate the page: 0.32117 seconds