Changeset 4057 for trunk/GSASIIstrMath.py
- Timestamp:
- Jul 11, 2019 1:03:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIIstrMath.py ¶
r4055 r4057 1482 1482 phfx = pfx.split(':')[0]+hfx 1483 1483 ast = np.sqrt(np.diag(G)) 1484 GS = G/np.outer(ast,ast)1485 uAmat = G2lat.Gmat2AB(GS)[0]1484 # GS = G/np.outer(ast,ast) 1485 # uAmat = G2lat.Gmat2AB(GS)[0] 1486 1486 Mast = twopisq*np.multiply.outer(ast,ast) 1487 1487 SGInv = SGData['SGInv'] … … 1513 1513 1514 1514 if not SGData['SGGray']: #for fixed Mx,My,Mz 1515 Mmod += Gdata.T[:,nxs,:]1515 # Mmod += Gdata.T[:,nxs,:] 1516 1516 GSdata = np.inner(Gdata.T,np.swapaxes(SGMT,1,2)) #apply sym. ops.--> Natm,Nops,Nxyz 1517 1517 if SGData['SGInv'] and not SGData['SGFixed']: #inversion if any
Note: See TracChangeset
for help on using the changeset viewer.