Changeset 3387
 Timestamp:
 May 15, 2018 8:33:56 AM (3 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIspc.py
r3380 r3387 1732 1732 :param SGData: space group data structure as defined in SpcGroup above. 1733 1733 :param vec: a numpy array of fractional vector coordinates 1734 :returns: Little  list of operators [M,T] that form the little gropu 1734 1735 ''' 1735 1736 Little = [] 1736 for [M,T] in SGData['SGOps']: 1737 if np.allclose(np.inner(M,vec),vec): 1737 Ops = SGData['SGOps'][:] 1738 if SGData['SGInv']: 1739 Ops += [[M,T] for [M,T] in Ops] 1740 for [M,T] in Ops: 1741 tvec = np.inner(M,vec)%1. 1742 if np.allclose(tvec,vec%1.): 1738 1743 Little.append([M,T]) 1739 1744 return Little
Note: See TracChangeset
for help on using the changeset viewer.