Changeset 623


Ignore:
Timestamp:
05/05/05 12:26:14 (20 years ago)
Author:
mar637
Message:

Fix for asap0019 - added private function. fixed typo in poly_baseline deafult mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release-1-fixes/python/scantable.py

    r594 r623  
    10661066        if mask is None:
    10671067            from numarray import ones
    1068             mask = list(ones(scan.nchan()))
     1068            mask = list(ones(self.nchan()))
    10691069        from asap.asapfitter import fitter
    10701070        f = fitter()
     
    14281428            i = j       
    14291429        return segments
     1430    def _get_ordinate_label(self):
     1431        fu = "("+self.get_fluxunit()+")"
     1432        import re
     1433        lbl = "Intensity"
     1434        if re.match(".K.",fu):
     1435            lbl = "Brightness Temperature "+ fu
     1436        elif re.match(".Jy.",fu):
     1437            lbl = "Flux density "+ fu
     1438        return lbl
     1439       
Note: See TracChangeset for help on using the changeset viewer.