Changeset 5018
- Timestamp:
- Aug 29, 2021 9:13:06 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r5013 r5018 2767 2767 pick = str(G2frame.itemPicked).split('(',1)[1][:-1] 2768 2768 if 'line' not in pick: #avoid data points, etc. 2769 data = G2frame.GPXtree.GetItemPyData(G2frame.PatternId)2770 2769 if pick in Page.phaseList: 2771 2770 num = Page.phaseList.index(pick) … … 3251 3250 for ip,Pattern in enumerate(PlotList): 3252 3251 xye = Pattern[1] 3252 xye = np.nan_to_num(xye) 3253 3253 if xye[1] is None: continue 3254 3254 if Ymax is None: Ymax = max(xye[1]) -
trunk/GSASIIpwd.py
r5005 r5018 32 32 import scipy.optimize as so 33 33 import scipy.special as sp 34 import scipy.signal as signal 34 35 35 36 import GSASIIpath … … 506 507 507 508 def MakeRDF(RDFcontrols,background,inst,pwddata): 508 import scipy.signal as signal509 509 auxPlot = [] 510 if 'C' in inst['Type'][0] :510 if 'C' in inst['Type'][0] or 'B' in inst['Type'][0]: 511 511 Tth = pwddata[0] 512 512 wave = G2mth.getWave(inst) … … 530 530 Qdata *= np.sin((Qpoints-minQ)*piDQ)/piDQ 531 531 Qdata *= 0.5*np.sqrt(Qpoints) #Qbin normalization 532 # GSASIIpath.IPyBreak()533 532 dq = Qpoints[1]-Qpoints[0] 534 533 nR = len(Qdata)
Note: See TracChangeset
for help on using the changeset viewer.