Ignore:
Timestamp:
09/22/10 12:13:04 (14 years ago)
Author:
Malte Marquarding
Message:

merge from branches/asap4casa3.1.0. Should be done the other way

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/python

  • trunk/python/asapfitter.py

    r1927 r1938  
    8787        if kwargs.has_key('poly'):
    8888            self.fitfunc = 'poly'
     89            self.fitfuncs = ['poly']
    8990            n = kwargs.get('poly')
    90             self.components = [n]
     91            self.components = [n+1]
    9192            self.uselinear = False
    9293        elif kwargs.has_key('lpoly'):
    9394            self.fitfunc = 'poly'
     95            self.fitfuncs = ['lpoly']
    9496            n = kwargs.get('lpoly')
    95             self.components = [n]
     97            self.components = [n+1]
    9698            self.uselinear = True
    9799        elif kwargs.has_key('gauss'):
Note: See TracChangeset for help on using the changeset viewer.