Ignore:
Timestamp:
Aug 27, 2014 12:59:17 PM (9 years ago)
Author:
vondreele
Message:

reset mustrain now gives correct SHKL coefficients for a 1000 mustrain
generalized mustrain now scaled correctly by 0.018/pi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1478 r1480  
    400400            UseList[item]['Mustrain'][1][1] = 1000.0
    401401        elif name == 'generalized':
     402            muiso = 1000.
     403            cell = generalData['Cell'][1:7]
     404            vals = G2spc.Muiso2Shkl(muiso,SGData,cell)
    402405            nTerm = len(UseList[item]['Mustrain'][4])
    403406            for i in range(nTerm):
    404                 UseList[item]['Mustrain'][4][i] = 0.01
     407                UseList[item]['Mustrain'][4][i] = vals[i]
    405408        G2plt.PlotSizeStrainPO(G2frame,data)
    406409        wx.CallAfter(UpdateDData,G2frame,DData,data)
Note: See TracChangeset for help on using the changeset viewer.