Ignore:
Timestamp:
May 8, 2019 6:16:01 PM (4 years ago)
Author:
vondreele
Message:

set self.tutorialPath = '.\G2tutorial' if others fail. Don't know if this is best?
Add S301 to trigonal to 3m1 list of generalized mustrain terms - seems to improve things but plot is weird. Might need more work.
use get to fix missing Z problem
set up getting better map density from density slice instead of 3/4D full map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r3848 r3961  
    426426       
    427427    def GenStrainDataSizer():
    428         muMean = G2spc.MuShklMean(SGData,Amat,UseList[G2frame.hist]['Mustrain'][4])
    429428        Snames = G2spc.MustrainNames(SGData)
    430429        numb = len(Snames)
    431         if len(UseList[G2frame.hist]['Mustrain'][4]) < numb:
    432             UseList[G2frame.hist]['Mustrain'][4] = numb*[0.0,]
    433             UseList[G2frame.hist]['Mustrain'][5] = numb*[False,]
     430        onumb = len(UseList[G2frame.hist]['Mustrain'][4])
     431        while onumb < numb:
     432            UseList[G2frame.hist]['Mustrain'][4].append(0.0)
     433            UseList[G2frame.hist]['Mustrain'][5].append(False)
     434            onumb += 1
     435        muMean = G2spc.MuShklMean(SGData,Amat,UseList[G2frame.hist]['Mustrain'][4])
    434436        parms = zip(Snames,UseList[G2frame.hist]['Mustrain'][4],UseList[G2frame.hist]['Mustrain'][5],range(numb))
    435437        dataSizer = wx.FlexGridSizer(0,6,5,5)
Note: See TracChangeset for help on using the changeset viewer.