Changeset 1596
- Timestamp:
- Dec 5, 2014 1:50:37 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r1594 r1596 877 877 if G2spc.checkSSextc(HKLM,SSGData): 878 878 HKLs.append([h,k,l,dH,d]) 879 return sortHKLd(HKLs,True,True,True)879 return HKLs 880 880 881 881 #Spherical harmonics routines -
trunk/GSASIIphsGUI.py
r1595 r1596 5011 5011 5012 5012 # FillPawleyReflectionsGrid executable starts here 5013 G2frame.dataFrame.SetStatusText('To delete a few Pawley reflections: select rows& press Delete')5013 G2frame.dataFrame.SetStatusText('To delete a Pawley reflection: select row & press Delete') 5014 5014 generalData = data['General'] 5015 5015 if 'Pawley ref' in data: … … 5059 5059 mul *= 2 #for powder multiplicity 5060 5060 PawleyPeaks.append([h,k,l,m,mul,d,False,100.0,1.0]) 5061 PawleyPeaks = G2mth.sortArray(PawleyPeaks,5,reverse=True) 5061 5062 finally: 5062 5063 wx.EndBusyCursor() … … 5069 5070 mul *= 2 #for powder multiplicity 5070 5071 PawleyPeaks.append([h,k,l,mul,d,False,100.0,1.0]) 5072 PawleyPeaks = G2mth.sortArray(PawleyPeaks,4,reverse=True) 5071 5073 finally: 5072 5074 wx.EndBusyCursor() -
trunk/GSASIIplot.py
r1592 r1596 1354 1354 try: 1355 1355 for peak in Phases[G2frame.RefList]['RefList']: 1356 HKL.append(peak[:6]) 1356 if len(peak) > 15: 1357 HKL.append(peak[:7]) 1358 else: 1359 HKL.append(peak[:6]) 1357 1360 except TypeError: #old style patch 1358 1361 for peak in Phases[G2frame.RefList]: … … 1639 1642 if not len(peaks): 1640 1643 continue 1641 peak = np.array([[peak[4],peak[5]] for peak in peaks]) 1644 if len(peaks[0]) > 15: 1645 peak = np.array([[peak[5],peak[6]] for peak in peaks]) 1646 else: 1647 peak = np.array([[peak[4],peak[5]] for peak in peaks]) 1642 1648 pos = G2frame.refOffset-pId*Ymax*G2frame.refDelt*np.ones_like(peak) 1643 1649 if G2frame.qPlot: -
trunk/GSASIIstrIO.py
r1595 r1596 1907 1907 if hapData['Babinet']['BabA'][0]: 1908 1908 PrintBabinet(hapData['Babinet']) 1909 if Phases[phase]['General']['Type'] in ['modulated','magnetic']:1910 HKLd = G2lat.GenSSHLaue(dmin,SGData,SSGData,Vec,maxH,A)1911 else:1912 HKLd = np.array(G2lat.GenHLaue(dmin,SGData,A))1913 1909 if resetRefList: 1914 1910 refList = [] … … 1916 1912 Phi = [] 1917 1913 if Phases[phase]['General']['Type'] in ['modulated','magnetic']: 1914 HKLd = np.array(G2lat.GenSSHLaue(dmin,SGData,SSGData,Vec,maxH,A)) 1915 HKLd = G2mth.sortArray(HKLd,4,reverse=True) 1918 1916 for h,k,l,m,d in HKLd: 1919 1917 ext,mul,uniq,phi = G2spc.GenHKLf([h,k,l],SGData) #is this right for SS refl.?? … … 1936 1934 Phi.append(phi) 1937 1935 else: 1936 HKLd = np.array(G2lat.GenHLaue(dmin,SGData,A)) 1937 HKLd = G2mth.sortArray(HKLd,3,reverse=True) 1938 1938 for h,k,l,d in HKLd: 1939 1939 ext,mul,uniq,phi = G2spc.GenHKLf([h,k,l],SGData) -
trunk/GSASIIstrMath.py
r1595 r1596 1895 1895 names.update({hfx+'Absorption':[dFdAb,'int'],}) 1896 1896 else: #'T'OF 1897 dpdA,dpdZ,dpdDC,dpdDA,dpdDB = GetReflPosDerv(refl, 0.0,A,hfx,calcControls,parmDict)1897 dpdA,dpdZ,dpdDC,dpdDA,dpdDB = GetReflPosDerv(refl,im,0.0,A,hfx,calcControls,parmDict) 1898 1898 names = {hfx+'Scale':[dIdsh,'int'],phfx+'Scale':[dIdsp,'int'], 1899 1899 hfx+'difC':[dpdDC,'pos'],hfx+'difA':[dpdDA,'pos'],hfx+'difB':[dpdDB,'pos'],
Note: See TracChangeset
for help on using the changeset viewer.