Changeset 1464 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Aug 17, 2014 4:05:35 PM (7 years ago)
Author:
vondreele
Message:

change sig-q & beta-q functionality to be 1/d2 - seems to work better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1462 r1464  
    480480    'needs a doc string'
    481481    sig = lambda Th,U,V,W: 1.17741*math.sqrt(max(0.001,U*tand(Th)**2+V*tand(Th)+W))*math.pi/180.
    482     sigTOF = lambda dsp,S0,S1,S2,Sq:  S0+S1*dsp**2+S2*dsp**4+Sq*dsp
     482    sigTOF = lambda dsp,S0,S1,S2,Sq:  S0+S1*dsp**2+S2*dsp**4+Sq/dsp**2
    483483    gam = lambda Th,X,Y: (X/cosd(Th)+Y*tand(Th))*math.pi/180.
    484484    gamTOF = lambda dsp,X,Y: X*dsp+Y*dsp**2
Note: See TracChangeset for help on using the changeset viewer.