Defines | |
| #define | MIDAS_BUG 0 |
Functions | |
| static void | deg2dms (double in_val, double *degs, double *minutes, double *seconds) |
| convert degrees -> degrees, minutes, seconds | |
| static void | deg2hms (double in_val, double *hours, double *minutes, double *seconds) |
| convert hours -> degrees, minutes, seconds | |
| static void | compxy (double inputr[19], char inputc[4], double outputr[4], double utr, double mod_juldat) |
| Compute velocity correction. | |
| static void | barvel (double DJE, double DEQ, double DVELH[4], double DVELB[4]) |
| compute rectangular heliocentric and barycentric components of the earth's orbital velocity | |
| void | uves_baryvel (const uves_propertylist *raw_header, double *bary_corr, double *helio_corr) |
| Compute velocity correction. | |
The code in this source file is a 1-to-1 translation of MIDAS COMPUT/BARYCOR as defined in /prim/general/src/compxy.for (only the necessary parts were translated). The code is not meant to be particularly readable/maintainable. To understand the computation the best starting point is probably P. Stumpff, A&A Suppl. Ser. 41, pp. 1-8 (1980)
|
|
To get the exact same behaviour as MIDAS this should be define'd to 1. (Fixing it does not seem to make a difference in the resulting numbers but do it anyway) Definition at line 1180 of file uves_baryvel.c. |
|
||||||||||||||||||||
|
convert degrees -> degrees, minutes, seconds
Definition at line 1169 of file uves_baryvel.c. References deg2hms(). Referenced by uves_baryvel(). |
|
||||||||||||||||||||
|
convert hours -> degrees, minutes, seconds
Definition at line 1192 of file uves_baryvel.c. References uves_round_double(). Referenced by deg2dms(), and uves_baryvel(). |
|
||||||||||||||||||||||||
|
Compute velocity correction.
Definition at line 288 of file uves_baryvel.c. References barvel(). Referenced by uves_baryvel(). |
|
||||||||||||||||||||
|
compute rectangular heliocentric and barycentric components of the earth's orbital velocity
Definition at line 622 of file uves_baryvel.c. Referenced by compxy(). |
|
||||||||||||||||
|
Compute velocity correction.
Definition at line 120 of file uves_baryvel.c. References check, compxy(), deg2dms(), deg2hms(), uves_msg_debug, uves_pfits_get_dec(), uves_pfits_get_geolat(), uves_pfits_get_geolon(), uves_pfits_get_mjdobs(), uves_pfits_get_ra(), and uves_pfits_get_utc(). |
1.4.6