Ignore:
Timestamp:
03/24/14 17:32:50 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes:

Module(s): sd

Description: (1) a bug fix in sd.scantable.parse_spw_selection(). modified to get rest frequency value correctly based on molecule ID stored for each spw (the first spectrum having the specified spw in scantable). (2) renamed 'annotation' to 'text' in class or variable names for sd.plotter2.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2902 r2909  
    20532053                pmin = 0.0
    20542054                pmax = float(self.nchan(spw) - 1)
     2055
     2056                molid = self._getmolidcol_list()[self.get_first_rowno_by_if(spw)]
    20552057               
    20562058                if (len(colon_sep) == 1):
     
    21102112                                elif is_number(expr0) and is_velocity(expr1):
    21112113                                    # 'a~b*m/s'
    2112                                     restf = self.get_restfreqs().values()[0][0]
     2114                                    restf = self.get_restfreqs()[molid][0]
    21132115                                    (expr_v0, expr_v1) = get_velocity_by_string(expr0, expr1)
    21142116                                    dppl = self.get_doppler()
Note: See TracChangeset for help on using the changeset viewer.