Changeset 4539 for trunk/GSASIIplot.py
 Timestamp:
 Aug 7, 2020 8:50:02 AM (3 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIplot.py
r4538 r4539 5635 5635 Plot.legend(loc='best') 5636 5636 else: #'C' & 'B' 5637 isig = 4 5638 igam = 6 5639 if 'B' in Parms['Type'][0]: 5640 isig = 8 5641 igam = 10 5637 5642 Plot.figure.suptitle(TreeItemText) 5638 5643 Plot.set_title('Instrument and sample peak widths') … … 5644 5649 Z = np.ones_like(X) 5645 5650 data = G2mth.setPeakparms(Parms,Parms2,X,Z) 5646 s = np.sqrt(data[ 4])*np.pi/18000. #var > sig(radians)5647 g = data[ 6]*np.pi/18000. #centideg > radians5651 s = np.sqrt(data[isig])*np.pi/18000. #var > sig(radians) 5652 g = data[igam]*np.pi/18000. #centideg > radians 5648 5653 G = G2pwd.getgamFW(g,s) #/2. #delttheta from TCH fxn 5649 5654 Y = sq8ln2*s/nptand(X/2.) … … 5655 5660 5656 5661 fit = G2mth.setPeakparms(Parms,Parms2,X,Z,useFit=True) 5657 sf = np.sqrt(fit[ 4])*np.pi/18000.5658 gf = fit[ 6]*np.pi/18000.5662 sf = np.sqrt(fit[isig])*np.pi/18000. 5663 gf = fit[igam]*np.pi/18000. 5659 5664 Gf = G2pwd.getgamFW(gf,sf) #/2. 5660 5665 Yf = sq8ln2*sf/nptand(X/2.)
Note: See TracChangeset
for help on using the changeset viewer.