Changeset 2807


Ignore:
Timestamp:
Apr 24, 2017 1:52:27 PM (6 years ago)
Author:
vondreele
Message:

fix offset problem in Bruker RAW powder importer
Some wordsmithing of the space group help text.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r2806 r2807  
    437437                helptext = '''\t\t\tGSAS-II space group information
    438438               
    439 Space groups are entered here as given in Volume A of the International Tables,
    440 except that spaces are placed between operators (e.g. "P 4/m m m" or "P -3 1 m").
    441 
    442 Where a centrosymmetric space group has alternate origin settings, Origin 2 (with
    443 the center of symmetry at the origin, which gives a -x,-y,-z symmetry operator) is
    444 always used.
     439Space groups are entered here as given in Volume I or Volume A of the
     440International Tables using the short Hermann-Mauguin symbol,except that spaces
     441are placed between axial fields (e.g. "P 4/m m m", "F D 3 M" or "p -3 1 m").
     442NB: the cubic "bar" in "F d -3 m" is unnecessary, and upper/lower case is not required.
     443
     444Where a centrosymmetric tetragonal or cubic space group has alternate origin settings,
     445Origin choice 2 (with the center of symmetry at the origin, which gives an -x,-y,-z
     446symmetry operator) is always used. Refer to the relevant pages in IT I or A to find
     447the offset in atom positions between the two choices.
    445448
    446449For rhombohedral space groups, (R xxx) the hexagonal setting is assumed. Append a
    447450final R to the name (R xxx R) to indicate that a rhombohedral cell should be
    448 used (not recommended when alpha >> 120, due to correlation.)
     451used (not recommended when alpha >> 120 or << 60, due to correlation.)
    449452
    450453GSAS-II will accept non-standard settings of space groups. For example, space
    451 group "P -1" can be set to include face centering, using symbol "F -1".
     454group "P -1" can be set to include face centering, using symbol "F -1" and "P 1 1 21/a"
     455as a nonstandard version of "P 21/c".
    452456
    453457Review the symmetry operators generated by GSAS-II to confirm that you have
    454458entered the right symbol for your structure.
    455459'''
    456                 dlg = G2G.SingleStringDialog(General,
    457                                           'Get Space Group',
    458                                           'Input the space group with spaces between operators (e.g. P 4/m m m)',
    459                                           value=generalData['SGData']['SpGrp'],help=helptext)
     460                dlg = G2G.SingleStringDialog(General,'Get Space Group',
     461                    '  Input the space group with spaces between axial fields  \n  (e.g. p 21/c, P 63/m m c, P 4/m m m',
     462                    value=generalData['SGData']['SpGrp'],help=helptext)
    460463                if not dlg.Show():
    461464                    dlg.Destroy()
     
    35263529                    labelY='difference',newPlot=True,Title='DIFFaX vs GSASII',lines=True)
    35273530#            GSASIIpath.IPyBreak()
    3528             G2plt.PlotPatterns(G2frame,plotType='PWDR')
     3531            G2plt.PlotPatterns(G2frame,plotType='PWDR',newPlot=True)
    35293532        else:   #selected area
    35303533            data['Layers']['Sadp'] = {}
  • trunk/imports/G2pwd_BrukerRAW.py

    r2738 r2807  
    128128                for iBlock in range(blockNum):
    129129                    headLen = int(st.unpack('<i',File.read(4))[0])
    130                     if nBlock > 1:
    131                         headLen += 40
     130#                    if nBlock > 1:
     131#                        headLen += 40
    132132                    nSteps = int(st.unpack('<i',File.read(4))[0])
    133133                    if not nSteps: break
Note: See TracChangeset for help on using the changeset viewer.