Changeset 4992 for trunk/GSASIIstrMath.py
- Timestamp:
- Jul 8, 2021 8:41:49 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstrMath.py
r4990 r4992 1613 1613 MF = refDict['FF']['MF'][iBeg:iFin].T[Tindx].T #Nref,Natm 1614 1614 TMcorr = 0.539*(np.reshape(Tiso,Tuij.shape)*Tuij)[:,0,:]*Mdata*Fdata*MF/(2*Nops) #Nref,Natm 1615 HM = np.inner( uAmat,HP.T) #put into cartesian space X||H,Z||H*L; uAmat better than uBmat1615 HM = np.inner(Bmat,HP.T) #put into cartesian space X||H,Z||H*L; 1616 1616 eM = (HM/np.sqrt(np.sum(HM**2,axis=0))).T # normalize HP Nref,hkl=Unit vectors || Q 1617 1617 … … 1634 1634 fbsm = np.sum(np.sum(fbms,axis=-2),axis=-2) 1635 1635 #put into cartesian space 1636 facm = np.inner(fasm,u Bmat.T)1637 fbcm = np.inner(fbsm,u Bmat.T)1636 facm = np.inner(fasm,uAmat) 1637 fbcm = np.inner(fbsm,uAmat) 1638 1638 #form e.F dot product 1639 1639 eDotFa = np.sum(eM[:,nxs,:]*facm,axis=-1) #Nref,Ntau
Note: See TracChangeset
for help on using the changeset viewer.