Changeset 583 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
May 2, 2012 4:08:10 PM (10 years ago)
Author:
vondreele
Message:

add Rwp to sequential results table & plot
fix bug in backflagcopy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r570 r583  
    934934        return sampleParm
    935935           
     936    def GetRwps():
     937        Rwps = []
     938        for name in histNames:
     939            Rwps.append(data[name]['Rvals']['Rwp'])
     940        return Rwps
     941           
    936942    def GetSigData(parm):
    937943        sigData = []
     
    10111017            atomList[newAtomDict[item][0]] = item
    10121018    sampleParms = GetSampleParms()
     1019    Rwps = GetRwps()
    10131020    G2frame.dataFrame.SetMenuBar(G2frame.dataFrame.SequentialMenu)
    10141021    G2frame.dataFrame.SetLabel('Sequental refinement results')
    10151022    G2frame.dataFrame.CreateStatusBar()
    10161023    G2frame.dataFrame.Bind(wx.EVT_MENU, OnSaveSelSeq, id=wxID_SAVESEQSEL)
    1017     colLabels = data['varyList']+atomList.keys()+cellList.keys()
    1018     Types = len(data['varyList']+atomList.keys()+cellList.keys())*[wg.GRID_VALUE_FLOAT,]
    1019     seqList = [list(data[name]['variables']) for name in histNames]
    1020    
     1024    colLabels = ['Rwp',]+data['varyList']+atomList.keys()+cellList.keys()
     1025    Types = (len(data['varyList']+atomList.keys()+cellList.keys())+1)*[wg.GRID_VALUE_FLOAT,]
     1026    seqList = [[Rwps[i],]+list(data[name]['variables']) for i,name in enumerate(histNames)]   
    10211027    for i,item in enumerate(seqList):
    10221028        newAtomDict = data[histNames[i]]['newAtomDict']
Note: See TracChangeset for help on using the changeset viewer.