Changeset 3959 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
May 6, 2019 4:16:16 PM (4 years ago)
Author:
toby
Message:

Bugs from Ivo: scripting & seq. table plotting; script addition for image integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r3906 r3959  
    15451545    return True
    15461546           
    1547 def DoPeakFit(FitPgm,Peaks,Background,Limits,Inst,Inst2,data,fixback,prevVaryList=[],oneCycle=False,controls=None,dlg=None):
     1547def DoPeakFit(FitPgm,Peaks,Background,Limits,Inst,Inst2,data,fixback=None,prevVaryList=[],oneCycle=False,controls=None,dlg=None):
    15481548    '''Called to perform a peak fit, refining the selected items in the peak
    15491549    table as well as selected items in the background.
     
    18201820        Ftol = 1.0
    18211821    x,y,w,yc,yb,yd = data   #these are numpy arrays - remove masks!
     1822    if fixback is None:
     1823        fixback = np.zeros_like(y)
    18221824    yc *= 0.                            #set calcd ones to zero
    18231825    yb *= 0.
Note: See TracChangeset for help on using the changeset viewer.