Changeset 404 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Oct 28, 2011 1:59:03 PM (10 years ago)
Author:
vondreele
Message:

put error bars on seq refinement plots
add cubic elastic strain coeff
make sure results are saved from seq refinements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r400 r404  
    700700    histNames = data['histNames']
    701701   
     702    def GetSigData(parm):
     703        sigData = []
     704        for name in histNames:
     705            sigList = data[name]['sig']
     706            sigData.append(sigList[parm])
     707        return sigData
     708   
    702709    def Select(event):
    703710        cols = self.dataDisplay.GetSelectedCols()
     
    705712        if cols:
    706713            plotData = []
     714            plotSig = []
    707715            plotNames = []
    708716            for col in cols:
    709717                plotData.append(self.SeqTable.GetColValues(col))
     718                plotSig.append(GetSigData(col))
    710719                plotNames.append(self.SeqTable.GetColLabelValue(col))
    711720            plotData = np.array(plotData)
    712             G2plt.PlotSeq(self,plotData,plotNames)
     721            G2plt.PlotSeq(self,plotData,plotSig,plotNames)
    713722        elif rows:
    714723            name = histNames[rows[0]]
Note: See TracChangeset for help on using the changeset viewer.