Changeset 2412 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Aug 9, 2016 12:36:20 PM (5 years ago)
Author:
vondreele
Message:

fixes to PDF stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2361 r2412  
    259259    return sumNoAtoms/Vol
    260260           
    261 def CalcPDF(data,inst,xydata):
     261def CalcPDF(data,inst,limits,xydata):
    262262    'needs a doc string'
    263263    auxPlot = []
     
    321321    FFSq,SqFF,CF = GetAsfMean(ElList,(xydata['SofQ'][1][0]/(4.0*np.pi))**2)  #these are <f^2>,<f>^2,Cf
    322322    Q = xydata['SofQ'][1][0]
    323     auxPlot.append([Q,np.copy(CF),'CF-unCorr'])
     323#    auxPlot.append([Q,np.copy(CF),'CF-unCorr'])
    324324    ruland = Ruland(data['Ruland'],wave,Q,CF)
    325     auxPlot.append([Q,ruland,'Ruland'])     
     325#    auxPlot.append([Q,ruland,'Ruland'])     
    326326    CF *= ruland
    327     auxPlot.append([Q,CF,'CF-Corr'])
     327#    auxPlot.append([Q,CF,'CF-Corr'])
    328328    scale = np.sum((FFSq+CF)[minQ:maxQ])/np.sum(xydata['SofQ'][1][1][minQ:maxQ])
    329329    xydata['SofQ'][1][1] *= scale
Note: See TracChangeset for help on using the changeset viewer.