Changeset 1560 for trunk/GSASIIstrMath.py
- Timestamp:
- Nov 3, 2014 4:13:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstrMath.py
r1559 r1560 1485 1485 else: 1486 1486 for item in dDijDict: 1487 dDijDict[item] *= -parmDict[hfx+'difC']*refl[4]** 2/2.1487 dDijDict[item] *= -parmDict[hfx+'difC']*refl[4]**3/2. 1488 1488 return dDijDict 1489 1489 … … 1627 1627 SGData = Phase['General']['SGData'] 1628 1628 SGMT = np.array([ops[0].T for ops in SGData['SGOps']]) 1629 A = [parmDict[pfx+'A%d'%(i)] for i in range(6)] #+GetDij(phfx,SGData,parmDict) 1629 Dij = GetDij(phfx,SGData,parmDict) 1630 A = [parmDict[pfx+'A%d'%(i)]+Dij[i] for i in range(6)] 1630 1631 G,g = G2lat.A2Gmat(A) #recip & real metric tensors 1631 1632 GA,GB = G2lat.Gmat2AB(G) #Orthogonalization matricies … … 1643 1644 refl[5] = GetReflPos(refl,wave,A,hfx,calcControls,parmDict) #corrected reflection position 1644 1645 Lorenz = 1./(2.*sind(refl[5]/2.)**2*cosd(refl[5]/2.)) #Lorentz correction 1645 refl[5] += GetHStrainShift(refl,SGData,phfx,hfx,calcControls,parmDict) #apply hydrostatic strain shift1646 # refl[5] += GetHStrainShift(refl,SGData,phfx,hfx,calcControls,parmDict) #apply hydrostatic strain shift 1646 1647 refl[6:8] = GetReflSigGamCW(refl,wave,G,GB,phfx,calcControls,parmDict) #peak sig & gam 1647 1648 refl[11:15] = GetIntensityCorr(refl,Uniq,G,g,pfx,phfx,hfx,SGData,calcControls,parmDict) … … 1683 1684 refl[5] = GetReflPos(refl,0.0,A,hfx,calcControls,parmDict) #corrected reflection position 1684 1685 Lorenz = sind(parmDict[hfx+'2-theta']/2)*refl[4]**4 #TOF Lorentz correction 1685 refl[5] += GetHStrainShift(refl,SGData,phfx,hfx,calcControls,parmDict) #apply hydrostatic strain shift1686 # refl[5] += GetHStrainShift(refl,SGData,phfx,hfx,calcControls,parmDict) #apply hydrostatic strain shift 1686 1687 refl[6:8] = GetReflSigGamTOF(refl,G,GB,phfx,calcControls,parmDict) #peak sig & gam 1687 1688 refl[12:14] = GetReflAlpBet(refl,hfx,parmDict) … … 1786 1787 pfx = '%d::'%(pId) 1787 1788 phfx = '%d:%d:'%(pId,hId) 1788 A = [parmDict[pfx+'A%d'%(i)] for i in range(6)] #+GetDij(phfx,SGData,parmDict) 1789 Dij = GetDij(phfx,SGData,parmDict) 1790 A = [parmDict[pfx+'A%d'%(i)]+Dij[i] for i in range(6)] 1789 1791 G,g = G2lat.A2Gmat(A) #recip & real metric tensors 1790 1792 GA,GB = G2lat.Gmat2AB(G) #Orthogonalization matricies
Note: See TracChangeset
for help on using the changeset viewer.