Changeset 18467 for trunk/FACT++/src/moon.cc
- Timestamp:
- 04/22/16 10:18:45 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/moon.cc
r14308 r18467 183 183 cout << 90-hrz.alt << '\n'; 184 184 185 const double kSynMonth = 29.53058868; // synodic month (new Moon to new Moon) 186 const double kEpoch0 = 44240.37917; // First full moon after 1980/1/1 187 const double kInstall = 393; // Moon period if FACT installation 188 const uint32_t period = floor(((time.Mjd()-kEpoch0)/kSynMonth-kInstall)); 189 190 cout << period << '\n'; 185 191 cout << moon.visible << '\n'; 186 192 cout << moon.disk << '\n';
Note:
See TracChangeset
for help on using the changeset viewer.