Changeset 721 for trunk/python


Ignore:
Timestamp:
11/18/05 14:41:55 (19 years ago)
Author:
mar637
Message:

more asaplog changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r718 r721  
    258258        j = self.getif()
    259259        k = self.getpol()
    260         if rcParams['verbose']:
    261             print "--------------------------------------------------"
    262             print " Cursor position"
    263             print "--------------------------------------------------"
    264             out = 'Beam=%d IF=%d Pol=%d ' % (i,j,k)
    265             print out
    266         else:
    267             return i,j,k
     260        from asap import asaplog
     261        out = "--------------------------------------------------\n"
     262        out += " Cursor position\n"
     263        out += "--------------------------------------------------\n"
     264        out += 'Beam=%d IF=%d Pol=%d ' % (i,j,k)
     265        asaplog.push(out)
     266        print_log()
     267        return i,j,k
    268268
    269269    def stats(self, stat='stddev', mask=None, allaxes=None):
     
    11261126        # setup fitter
    11271127        f = fitter()
    1128         f._verbose(True)
    11291128        f.set_function(poly=order)
    11301129
Note: See TracChangeset for help on using the changeset viewer.