Ignore:
Timestamp:
Dec 14, 2019 9:02:47 AM (2 years ago)
Author:
vondreele
Message:

add new chebyschev-1 background function; matches that from old gsas. It is default for new projects & is better behaved than chebyschev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4200 r4201  
    17471747                self.GPXtree.AppendItem(Id,text='Background'),
    17481748                rd.pwdparms.get('Background',
    1749                     [['chebyschev',True,3,1.0,0.0,0.0],{'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
     1749                    [['chebyschev-1',True,3,1.0,0.0,0.0],{'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    17501750                    )
    17511751            self.GPXtree.SetItemPyData(
     
    19431943        self.GPXtree.SetItemPyData(
    19441944            self.GPXtree.AppendItem(Id,text='Background'),
    1945             [['chebyschev',True,3,1.0,0.0,0.0],
     1945            [['chebyschev-1',True,3,1.0,0.0,0.0],
    19461946             {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    19471947        self.GPXtree.SetItemPyData(
     
    20772077        self.GPXtree.SetItemPyData(
    20782078            self.GPXtree.AppendItem(Id,text='Background'),
    2079             [['chebyschev',True,3,1.0,0.0,0.0],
     2079            [['chebyschev-1',True,3,1.0,0.0,0.0],
    20802080             {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    20812081        self.GPXtree.SetItemPyData(
     
    34923492                        self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='Comments'),Comments)                   
    34933493                        self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='Limits'),[tuple(Xminmax),Xminmax])
    3494                         self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='Background'),[['chebyschev',True,3,1.0,0.0,0.0],
     3494                        self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='Background'),[['chebyschev-1',True,3,1.0,0.0,0.0],
    34953495                            {'nDebye':0,'debyeTerms':[],'nPeaks':0,'peaksList':[]}])
    34963496                        self.GPXtree.SetItemPyData(self.GPXtree.AppendItem(Id,text='Instrument Parameters'),Inst)
Note: See TracChangeset for help on using the changeset viewer.