GIRAFFE Pipeline Reference Manual

girvcorrection.h
1 /*
2  * This file is part of the GIRAFFE Pipeline
3  * Copyright (C) 2002-2019 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef GIRVCORRECTION_H
21 #define GIRVCORRECTION_H
22 
23 #include <cxtypes.h>
24 
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30  struct GiRvCorrection {
31  cxdouble bc;
32  cxdouble hc;
33  cxdouble gc;
34  };
35 
36  typedef struct GiRvCorrection GiRvCorrection;
37 
38 
39  void giraffe_rvcorrection_compute(GiRvCorrection* rv,
40  cxdouble jdate, cxdouble longitude,
41  cxdouble latitude, cxdouble elevation,
42  cxdouble ra, cxdouble dec,
43  cxdouble equinox);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* GIRVCORRECTION_H */
void giraffe_rvcorrection_compute(GiRvCorrection *rv, cxdouble jdate, cxdouble longitude, cxdouble latitude, cxdouble elevation, cxdouble ra, cxdouble dec, cxdouble equinox)
Compute heliocentric, barycentric and geocentric correction.

This file is part of the GIRAFFE Pipeline Reference Manual 2.16.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Dec 15 2022 21:18:51 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2004