Ignore:
Timestamp:
09/21/10 17:54:16 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Minor bug fix to work asapfitter.store_fit() on polynomial fitting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/asap4casa3.1.0/python/asapfitter.py

    r1927 r1935  
    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.