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

Home » Public Forums » archive » Re: hor2eq mystery - disagreeing output from same input?
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: hor2eq mystery - disagreeing output from same input? [message #66932 is a reply to message #66924] Wed, 17 June 2009 08:17 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Jun 17, 9:45 am, MichaelT <michael.theus...@googlemail.com> wrote:
> I have run into a problem using the hor2eq. It output different
> results when using single values from an array as input (correct
> output) compared to using the same array as a whole (wrong output).

First, for non-astronomers, hor2eq.pro is a program in the IDL
astronomy library (http://idlastro.gsfc.nasa.gov). The
vectorization was done incorrectly (not by me), or at least it didn't
anticipate all usages. It assumed that the Julian date would be
supplied as a vector with a separate date for each position. (So it
would loop over the number of Julian dates.) But you are giving a
scalar Julian date with vector positions, so all positions except the
first are not being precessed. I have now updated hor2eq.pro to
recognize your case (
http://idlastro.gsfc.nasa.gov/ftp/pro/astro/hor2eq.pro )

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Trial version of Slither, the IDL to Python bridge, available
Next Topic: Problems with tying ROI's to image

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

Current Time: Wed Oct 08 19:25:56 PDT 2025

Total time taken to generate the page: 0.00447 seconds