Ignore:
Timestamp:
07/30/10 14:46:03 (15 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: No (merge)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): single dish package

Description:

Merged some unimplemented developments from the trunk.
[Details]

  1. Restored PKSmsg.cc, PKSmsg.h to alma branch from trunk
  2. Updated pks_matchs.cc and src/SConscript to ones in trunk
  3. uncommented "@print_log_dec"
  4. implemented bug fixes to add(), sub(), mul(), and div() in scantable.py
  5. implemented get_region() and get_point() in asaplotbase.py
  6. activated interactive keyword for text(), arrow(), annotate(), axvline(), axhline(), axvspan(), and axhspan() in asapplotter.py


Location:
branches/alma/external/atnf
Files:
1 edited
2 copied

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.cc1747-1748,​1750-1751,​1753
      /trunk/external/atnf/pks/pks_maths.cc1386-1781
    r1757 r1782  
    321321
    322322  // 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
    325327  if (az < 0.0) az += C::_2pi;
    326   el = asin(sin(dec)*sin(lat) + cos(dec)*cos(lat)*cos(ha));
    327 
    328328}
    329329
Note: See TracChangeset for help on using the changeset viewer.