Changeset 14308 for trunk/FACT++/src/moon.cc
- Timestamp:
- 08/02/12 16:12:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/moon.cc
r14307 r14308 172 172 observer.lat = 28.+45./60+42.462/3600; 173 173 174 constMoon moon(observer.lng, observer.lat, time);174 Moon moon(observer.lng, observer.lat, time); 175 175 176 176 cout << setprecision(15); … … 192 192 pos.dec = conf.Get<double>("dec"); 193 193 194 ln_get_hrz_from_equ(&pos, &observer, time.JD(), &hrz); 194 cout << moon.Angle(pos.ra/15, pos.dec) << '\n'; 195 196 // Trick 17 197 moon.ra = pos.ra; 198 moon.dec = pos.dec; 199 200 // Sun distance 195 201 cout << moon.Angle(pos.ra/15, pos.dec) << '\n'; 196 202 }
Note:
See TracChangeset
for help on using the changeset viewer.