Changeset 3959 for trunk/GSASIIpwd.py
- Timestamp:
- May 6, 2019 4:16:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwd.py
r3906 r3959 1545 1545 return True 1546 1546 1547 def DoPeakFit(FitPgm,Peaks,Background,Limits,Inst,Inst2,data,fixback ,prevVaryList=[],oneCycle=False,controls=None,dlg=None):1547 def DoPeakFit(FitPgm,Peaks,Background,Limits,Inst,Inst2,data,fixback=None,prevVaryList=[],oneCycle=False,controls=None,dlg=None): 1548 1548 '''Called to perform a peak fit, refining the selected items in the peak 1549 1549 table as well as selected items in the background. … … 1820 1820 Ftol = 1.0 1821 1821 x,y,w,yc,yb,yd = data #these are numpy arrays - remove masks! 1822 if fixback is None: 1823 fixback = np.zeros_like(y) 1822 1824 yc *= 0. #set calcd ones to zero 1823 1825 yb *= 0.
Note: See TracChangeset
for help on using the changeset viewer.