Changeset 2740 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Mar 4, 2017 5:22:27 PM (5 years ago)
Author:
vondreele
Message:

fix issue with optimizing PDFs without Sample Bkg.
Finish implementing diff PDFs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2717 r2740  
    368368    nR = len(xydata['GofR'][1][1])
    369369    mul = int(round(2.*np.pi*nR/(data.get('Rmax',100.)*qLimits[1])))
    370     xydata['GofR'][1][0] = 2.*np.pi*np.linspace(0,nR,nR)/(mul*qLimits[1])
     370    xydata['GofR'][1][0] = 2.*np.pi*np.linspace(0,nR,nR,endpoint=True)/(mul*qLimits[1])
    371371    xydata['GofR'][1][1] = -dq*np.imag(ft.fft(xydata['FofQ'][1][1],mul*nR)[:nR])
    372372    if data.get('noRing',True):
Note: See TracChangeset for help on using the changeset viewer.