Changeset 3897 for trunk/MagicSoft/Cosy/catalog
- Timestamp:
- 04/29/04 19:48:18 (21 years ago)
- Location:
- trunk/MagicSoft/Cosy/catalog
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/SlaPlanets.cc
r1758 r3897 19 19 Slalib::SetMjd(mjd); 20 20 21 fTt = mjd + slaDtt(mjd)/60./60./24.;21 fTt = GetMjd() + slaDtt(GetMjd())/60./60./24.; 22 22 23 23 // … … 28 28 double veh[3]; // heliocentric velocity 29 29 30 slaEvp( mjd+ fDt, 2000.0, veb, ceb, veh, fEarth);30 slaEvp(GetMjd() + fDt, 2000.0, veb, ceb, veh, fEarth); 31 31 } 32 32 -
trunk/MagicSoft/Cosy/catalog/SlaStars.cc
r2615 r3897 40 40 41 41 // prepare calculation: Mean Place to geocentric apperent 42 slaMappa(2000.0, mjd, fAmprms);// Epoche, TDB42 slaMappa(2000.0, GetMjd(), fAmprms); // Epoche, TDB 43 43 44 44 // prepare: Apperent to observed place 45 slaAoppa(mjd, 0, // mjd, Delta UT=UT1-UTC 46 // GetElong(), GetPhi(), 148, // göttingen long, lat, height 47 GetElong(), GetPhi(), GetHeight(), // göttingen long, lat, height 45 slaAoppa(GetMjd(), 0, // mjd, Delta UT=UT1-UTC 46 GetElong(), GetPhi(), GetHeight(), // long, lat, height 48 47 0, 0, // polar motion x, y-coordinate (radians) 49 48 // 273.155, 1013.25, 0.5, // temp, pressure, humidity -
trunk/MagicSoft/Cosy/catalog/Slalib.cc
r2615 r3897 29 29 { 30 30 fTime.SetMjd(mjd); 31 fAlpha = slaGmst(mjd) + GetElong(); 32 } 31 32 fAlpha = slaGmst(GetMjd()) + GetElong(); 33 } 34 35 void Slalib::Now(double offset) 36 { 37 fTime.Now(); 38 SetMjd(fTime.GetMjd()+offset/(24*60*60)); 39 } 40 33 41 34 42 ZdAz Slalib::XYZ2ZdAz(double coord[3]) const -
trunk/MagicSoft/Cosy/catalog/Slalib.h
r2615 r3897 23 23 virtual void SetMjd(double mjd); 24 24 Double_t GetMjd() const { return fTime.GetMjd(); } 25 void Now( ) { fTime.Now(); }25 void Now(double offset=0); 26 26 const MTime &GetTime() const { return fTime; } 27 27
Note:
See TracChangeset
for help on using the changeset viewer.