RVCORRECT - more decimals in output?
Karsten Brogaard wrote on Dec 15, 2006
Hi,
I am testing results of rvcorrect against other programs. The problem is that I only get 2 decimals on the calculated radial velocity correction when giving parameters by hand. If I use a fits file and make rvcorrect write the correction in the header I get many more digits. Is there a way to see these without having to use a fits file? Thanks in advance
Karsten
I am testing results of rvcorrect against other programs. The problem is that I only get 2 decimals on the calculated radial velocity correction when giving parameters by hand. If I use a fits file and make rvcorrect write the correction in the header I get many more digits. Is there a way to see these without having to use a fits file? Thanks in advance
Karsten
Mike Fitzpatrick wrote on Dec 15, 2006
You can't get more decimals unless you modify the source for the task and recompile (astutil$t_rvcorrect.x, see the rvc_output() procedure). However, the VHELIO that is printed is simpl VOBS+VDIURNAL+VLUNAR+VANNUAL. These are printed with 3 decimals and you can get an extra decimal by adding the numbers printed yourself.
Let me know if you need instructions on modifying/recompiling the program, I believe the current formats were chosen so the output would fit on an 80-char line (and because that much precision was deemed 'reasonable').
Cheers,
-Mike
Let me know if you need instructions on modifying/recompiling the program, I believe the current formats were chosen so the output would fit on an 80-char line (and because that much precision was deemed 'reasonable').
Cheers,
-Mike
Last post on Dec 15, 2006