Changeset 3248 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jan 29, 2018 4:13:35 PM (4 years ago)
Author:
vondreele
Message:

fix powder peaks input/display/indexing
fix issue with hkl display on indexed powder patterns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3245 r3248  
    29332933        spc = controls[13]
    29342934        SGData = G2spc.SpcGroup(spc)[1]
     2935        Symb = SGData['SpGrp']
    29352936        if ssopt.get('Use',False):
    29362937            SSGData = G2spc.SSpcGroup(SGData,ssopt['ssSymb'])[1]
     2938            Symb = SSGData['SSpGrp']
    29372939            Vec = ssopt['ModVec']
    29382940            maxH = ssopt['maxH']
     
    29512953        G2frame.HKL = np.array(G2frame.HKL)
    29522954        if len(G2frame.HKL):
    2953             print (' new M20,X20: %.2f %d fraction found: %.3f'%(M20,X20,float(len(peaks[0]))/len(G2frame.HKL)))
     2955            print (' new M20,X20: %.2f %d, fraction found: %.3f for %s'  \
     2956                %(M20,X20,float(len(peaks[0]))/len(G2frame.HKL),Symb))
    29542957        G2frame.GPXtree.SetItemPyData(G2gd.GetGPXtreeItemId(G2frame,PatternId, 'Index Peak List'),peaks)
    29552958        if 'PKS' in G2frame.GPXtree.GetItemText(G2frame.PatternId):
Note: See TracChangeset for help on using the changeset viewer.