Changeset 4333 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Feb 28, 2020 4:19:30 AM (20 months ago)
Author:
vondreele
Message:

work on spot masking; change some text, menu names, etc.
Add menu item for Auto search for selected images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r4328 r4333  
    388388    if 'XC' in inst['Type'][0]:
    389389        ruland = Ruland(data['Ruland'],wave,Q,CF)
    390 #    auxPlot.append([Q,ruland,'Ruland'])     
     390#        auxPlot.append([Q,ruland,'Ruland'])     
    391391        CF *= ruland
    392392#    auxPlot.append([Q,CF,'CF-Corr'])
     
    407407    mul = int(round(2.*np.pi*nR/(Rmax*qLimits[1])))
    408408#    mul = int(round(2.*np.pi*nR/(data.get('Rmax',100.)*qLimits[1])))
    409     xydata['GofR'][1][0] = 2.*np.pi*np.linspace(0,nR,nR,endpoint=True)/(mul*qLimits[1])
    410     xydata['GofR'][1][1] = -dq*np.imag(fft.fft(xydata['FofQ'][1][1],mul*nR)[:nR])
     409    R = 2.*np.pi*np.linspace(0,nR,nR,endpoint=True)/(mul*qLimits[1])
     410    xydata['GofR'][1][0] = R
     411    GR = -dq*np.imag(fft.fft(xydata['FofQ'][1][1],mul*nR)[:nR])
     412    xydata['GofR'][1][1] = GR
     413#    gr = GR/(4.*np.pi*R)
     414#    auxPlot.append([R,gr,'g(r)'])
    411415    if data.get('noRing',True):
    412416        xydata['GofR'][1][1] = np.where(xydata['GofR'][1][0]<0.5,0.,xydata['GofR'][1][1])
Note: See TracChangeset for help on using the changeset viewer.