Changeset 692


Ignore:
Timestamp:
Jul 19, 2012 1:36:15 PM (9 years ago)
Author:
vondreele
Message:

fix size derivatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstruct.py

    r689 r692  
    3535ateln2 = 8.0*math.log(2.0)
    3636DEBUG = False
    37 
    3837
    3938def GetControls(GPXfile):
     
    23302329    if calcControls[phfx+'SizeType'] == 'isotropic':
    23312330        Sgam = 1.8*wave/(np.pi*parmDict[phfx+'Size:i']*costh)
    2332         gamDict[phfx+'Size:i'] = -1.80*wave*parmDict[phfx+'Size:mx']/(np.pi*costh)
    2333         sigDict[phfx+'Size:i'] = -3.60*Sgam*wave*(1.-parmDict[phfx+'Size:mx'])**2/(np.pi*costh*ateln2)
     2331        gamDict[phfx+'Size:i'] = -900.*wave*parmDict[phfx+'Size:mx']/(np.pi*costh)
     2332        sigDict[phfx+'Size:i'] = -1800.*Sgam*wave*(1.-parmDict[phfx+'Size:mx'])**2/(np.pi*costh*ateln2)
    23342333    elif calcControls[phfx+'SizeType'] == 'uniaxial':
    23352334        H = np.array(refl[:3])
Note: See TracChangeset for help on using the changeset viewer.