Changeset 3390 for trunk/GSASIIspc.py
 Timestamp:
 May 16, 2018 10:31:09 AM (4 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIspc.py
r3387 r3390 1727 1727 print (l) 1728 1728 1729 def SGProd(OpA,OpB): 1730 ''' 1731 Form space group operator product. OpA & OpB are [M,V] pairs; 1732 both must be of same dimension (3 or 4). Returns [M,V] pair 1733 ''' 1734 A,U = OpA 1735 B,V = OpB 1736 M = np.inner(B,A.T) 1737 W = np.inner(B,U)+V 1738 return M,W 1739 1729 1740 def GetLittleGrpOps(SGData,vec): 1730 1741 ''' Find rotation part of operators that leave vec unchanged … … 1743 1754 Little.append([M,T]) 1744 1755 return Little 1745 1746 def SGProd(OpA,OpB):1747 '''1748 Form space group operator product. OpA & OpB are [M,V] pairs;1749 both must be of same dimension (3 or 4). Returns [M,V] pair1750 '''1751 A,U = OpA1752 B,V = OpB1753 M = np.inner(B,A.T)1754 W = np.inner(B,U)+V1755 return M,W1756 1756 1757 1757 def MoveToUnitCell(xyz): … … 1903 1903 return iabsnt,mulp,Uniq,phi 1904 1904 1905 def MagHKLchk(HKL,SGData):1906 SpnFlp = SGData['SpnFlp']1907 print(HKL)1908 Uniq = GenHKL(HKL,SGData)1905 #def MagHKLchk(HKL,SGData): 1906 # SpnFlp = SGData['SpnFlp'] 1907 # print(HKL) 1908 # Uniq = GenHKL(HKL,SGData) 1909 1909 1910 1910 def checkSSLaue(HKL,SGData,SSGData):
Note: See TracChangeset
for help on using the changeset viewer.