Changeset 1622 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jan 5, 2015 1:02:33 PM (7 years ago)
Author:
vondreele
Message:

add 4D charge flipping - works to give 3D structure; only enabled for 4D data
fix problems with hkl limits in Fourier calcs. - see adjHKLmax
fix reflection table/2D & 3D display issues
disable MC/SA for 4D data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1619 r1622  
    28592859        '''Plots a layer of reflections
    28602860        '''
     2861        phaseName = G2frame.RefList
     2862        pId = G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Phases')
     2863        phaseId =  G2gd.GetPatternTreeItemId(G2frame,pId,phaseName)
     2864        General = G2frame.PatternTree.GetItemPyData(phaseId)['General']
     2865        Super = General.get('Super',0)
     2866        SuperVec = General.get('SuperVec',[])
     2867        refList = np.array(data[phaseName]['RefList'])
    28612868        FoMax = np.max(refList.T[8+Super])
    28622869        Hmin = np.array([int(np.min(refList.T[0])),int(np.min(refList.T[1])),int(np.min(refList.T[2]))])
     
    28692876        '''Plots the reflections in 3D
    28702877        '''
     2878        phaseName = G2frame.RefList
     2879        pId = G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Phases')
     2880        phaseId =  G2gd.GetPatternTreeItemId(G2frame,pId,phaseName)
     2881        General = G2frame.PatternTree.GetItemPyData(phaseId)['General']
     2882        Super = General.get('Super',0)
     2883        SuperVec = General.get('SuperVec',[])
     2884        refList = np.array(data[phaseName]['RefList'])
    28712885        FoMax = np.max(refList.T[8+Super])
    28722886        Hmin = np.array([int(np.min(refList.T[0])),int(np.min(refList.T[1])),int(np.min(refList.T[2]))])
     
    29332947                colLabels.insert(3,'M')
    29342948        return G2gd.Table(refs,rowLabels=rowLabels,colLabels=colLabels,types=Types)
     2949
    29352950    def ShowReflTable(phaseName):
    29362951        '''Posts a table of reflections for a phase, creating the table
Note: See TracChangeset for help on using the changeset viewer.