Changeset 1782 for branches/alma/external/atnf/pks
- Timestamp:
- 07/30/10 14:46:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/external/atnf/pks/pks_maths.cc
-
Property svn:mergeinfo
set to
/branches/asap-3.x/external/atnf/pks/pks_maths.cc merged eligible /trunk/external/atnf/pks/pks_maths.cc merged eligible
r1757 r1782 321 321 322 322 // Azimuth and elevation (rad). 323 az = atan2(cos(dec)*sin(ha), 324 cos(dec)*sin(lat)*cos(ha) - sin(dec)*cos(lat)); 323 az = atan2(-cos(dec)*sin(ha), 324 sin(dec)*cos(lat) - cos(dec)*sin(lat)*cos(ha)); 325 el = asin(sin(dec)*sin(lat) + cos(dec)*cos(lat)*cos(ha)); 326 325 327 if (az < 0.0) az += C::_2pi; 326 el = asin(sin(dec)*sin(lat) + cos(dec)*cos(lat)*cos(ha));327 328 328 } 329 329 -
Property svn:mergeinfo
set to
Note:
See TracChangeset
for help on using the changeset viewer.