Changeset 3591 for trunk/GSASIIspc.py


Ignore:
Timestamp:
Sep 11, 2018 4:13:58 PM (4 years ago)
Author:
vondreele
Message:

work on FindNonstandard? for mag space groups
enhance UseMagAtomDialog? to show mag site symmetry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3589 r3591  
    11161116        Text = Text.replace('1.0','').replace('.0','').replace('0.5','1/2')
    11171117    return Text[:-1]
     1118
     1119def getlattSym(Trans):
     1120    Fives = {'ababc':'abc','bcbca':'cba','acacb':'acb'}
     1121    transText = Trans2Text(Trans)
     1122    lattSym = ''
     1123    for fld in transText.split(','):
     1124        if 'a' in fld: lattSym += 'a'
     1125        if 'b' in fld: lattSym += 'b'
     1126        if 'c' in fld: lattSym += 'c'
     1127    if len(lattSym) == 5:
     1128        lattSym = Fives[lattSym]
     1129    return lattSym
     1130
    11181131
    11191132def Text2MT(mcifOpr,CIF=True):
Note: See TracChangeset for help on using the changeset viewer.