HI all
This is my problem. I have two IDL procedures
hr2altaz, hour, dec, alt, az -- which takes the HA and DEC and
converts it to ALT and AZ
altaz2hr, hour, dec, alt, az -- which takes ALT and AZ, and converts
it to HA and DEC.
What I need to do, is to begin with a certain HA and DEC, execute
hr2altaz, which will give me the ALT and AZ, and then take those two
outputs to execute altaz2hr, which will convert them back to HA and
DEC, and then repeat the process many times (say 100 times).
The purpose being to compare the initial HA, DEC to the final (after
100 reps) HA, DEC. in order to see any changes in precision.
I have no idea how to do this. I think I might need some loops, but I dont know how to tranfer the output of the first procedure to be the input of the other, and back.
Thank you for your help
|