Changeset 785 for branches/Release12


Ignore:
Timestamp:
12/07/05 16:52:44 (19 years ago)
Author:
mar637
Message:

Request: Log meesage on auto_quotient()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release12/python/scantable.py

    r784 r785  
    10551055            return
    10561056
    1057     def poly_baseline(self, mask=None, order=0, insitu=None):
     1057    def poly_baseline(self, mask=None, order=0, insitu=None, allaxes=None):
    10581058        """
    10591059        Return a scan which has been baselined (all rows) by a polynomial.
    10601060        Parameters:
    1061             scan:    a scantable
    1062             mask:    an optional mask
    1063             order:   the order of the polynomial (default is 0)
    1064             insitu:      if False a new scantable is returned.
    1065                          Otherwise, the scaling is done in-situ
    1066                          The default is taken from .asaprc (False)
     1061            scan:       a scantable
     1062            mask:       an optional mask
     1063            order:      the order of the polynomial (default is 0)
     1064            insitu:     if False a new scantable is returned.
     1065                        Otherwise, the scaling is done in-situ
     1066                        The default is taken from .asaprc (False)
     1067            allaxes:    If True (default) apply to all spectra. Otherwise
     1068                        apply only to the selected (beam/pol/if)spectra only
     1069                        The default is taken from .asaprc (True if none)
    10671070        Example:
    10681071            # return a scan baselined by a third order polynomial,
     
    10701073            bscan = scan.poly_baseline(order=3)
    10711074        """
     1075        if allaxes is None: allaxes = rcParams['scantable.allaxes']
    10721076        if insitu is None: insitu = rcParams['insitu']
    10731077        varlist = vars()
Note: See TracChangeset for help on using the changeset viewer.