source: Sophya/trunk/Poubelle/archTOI.old/tsid.h@ 4050

Last change on this file since 4050 was 363, checked in by ansari, 26 years ago

Gestion tsid

File size: 594 bytes
Line 
1// tsid.h
2// Eric Aubourg CEA/DAPNIA/SPP aout 1999
3// adapted from TSid.java, E. Aubourg 1998.
4
5#ifndef TSID_H
6#define TSID_H
7
8#include <map>
9
10using namespace std;
11
12class TSid {
13public:
14 TSid(double longitude=0); // en degres, E = +
15
16 void setLongitude(double longitude); // en degres, E = +
17 double getLST(double mjd); // en secondes
18
19protected:
20 map<double, double> dut1;
21 void InitDUT();
22 double longitude;
23 double getDUT1(double mjd); // UT1-UTC, secondes
24 static const double SIDRATE;
25 static const double MJDRef;
26};
27
28#endif
Note: See TracBrowser for help on using the repository browser.