Changeset 3186 for trunk/GSASIIspc.py


Ignore:
Timestamp:
Dec 9, 2017 8:54:59 AM (5 years ago)
Author:
vondreele
Message:

revisions to integrate images so that masks are reused if not changed in integrate all & auto integrate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3176 r3186  
    28492849                return spc + rhomb
    28502850    # how about the post-2002 orthorhombic names?
    2851     for i,spc in sgequiv_2002_orthorhombic:
    2852         if rspc == i.replace(' ','').upper():
    2853             return spc
     2851    if rspc in sgequiv_2002_orthorhombic:
     2852        return sgequiv_2002_orthorhombic[rspc]
     2853    else:
    28542854    # not found
    2855     return ''
     2855        return ''
    28562856
    28572857spgbyNum = []
     
    29452945    'C2/m':('C 2','C m','C c','C n',
    29462946        'C 2/m','C 2/c','C 2/n',),
    2947     'Pmmm':('P 2 2 2',
     2947    'A2/m':('A 2','A m','A a','A n',
     2948        'A 2/m','A 2/a','A 2/n',),
     2949   'Pmmm':('P 2 2 2',
    29482950        'P 2 2 21','P 21 2 2','P 2 21 2',
    29492951        'P 21 21 2','P 2 21 21','P 21 2 21',
     
    30193021        'F -4 3 c','F m -3 m','F m 3 m','F m -3 c','F d -3 m','F d -3 c',),
    30203022}
    3021 
     3023sgequiv_2002_orthorhombic = {}
     3024''' A dictionary of orthorhombic space groups that were renamed in the 2002 Volume A,
     3025 along with the pre-2002 name. The e designates a double glide-plane
     3026'''
     3027sgequiv_2002_orthorhombic = {
     3028        'AEM2':'A b m 2','B2EM':'B 2 c m','CM2E':'C m 2 a',
     3029        'AE2M':'A c 2 m','BME2':'B m a 2','C2ME':'C 2 m b',
     3030        'AEA2':'A b a 2','B2EB':'B 2 c b','CC2E':'C c 2 a',
     3031        'AE2A':'A c 2 a','BBE2':'B b a 2','C2CE':'C 2 c b',
     3032        'CMCE':'C m c a','AEMA':'A b m a','BBEM':'B b c m',
     3033        'BMEB':'B m a b','CCME':'C c m b','AEAM':'A c a m',
     3034        'CMME':'C m m a','AEMM':'A b m m','BMEM':'B m c m',
     3035        'CCCE':'C c c a','AEAA':'A b a a','BBEB':'B b c b'}
    30223036ptssdict = {}
    30233037'''A dictionary of superspace group symbols allowed for each point group
     
    31663180                      'R 3 c r','R -3 c r','R -3 m r',),
    31673181
    3168 #A list of orthorhombic space groups that were renamed in the 2002 Volume A,
    3169 # along with the pre-2002 name. The e designates a double glide-plane'''
    3170 sgequiv_2002_orthorhombic= (('A e m 2', 'A b m 2',),
    3171                             ('A e a 2', 'A b a 2',),
    3172                             ('C m c e', 'C m c a',),
    3173                             ('C m m e', 'C m m a',),
    3174                             ('C c c e', 'C c c a'),)
    31753182#Use the space groups types in this order to list the symbols in the
    31763183#order they are listed in the International Tables, vol. A'''
Note: See TracChangeset for help on using the changeset viewer.