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/GSASIIstrMath.py

    r1479 r1480  
    11901190            for i,strm in enumerate(Strms):
    11911191                Sum += parmDict[phfx+'Mustrain:'+str(i)]*strm
    1192             Mgam = refl[4]**2*tand(refl[5]/2.)*np.sqrt(Sum)
     1192            Mgam = 0.018*refl[4]**2*tand(refl[5]/2.)*np.sqrt(Sum)/np.pi
    11931193    elif 'T' in calcControls[hfx+'histType']:
    11941194        #crystallite size
     
    12891289            sigDict[phfx+'Mustrain;a'] = 2*(Mgam/Sa+dsa)*Mgam*(1.-parmDict[phfx+'Mustrain;mx'])**2/ateln2       
    12901290        else:       #generalized - P.W. Stephens model
    1291             const = refl[4]**2*tanth
     1291            const = 0.018*refl[4]**2*tanth/np.pi
    12921292            Strms = G2spc.MustrainCoeff(refl[:3],SGData)
    12931293            Sum = 0
Note: See TracChangeset for help on using the changeset viewer.