Changeset 1274 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Apr 11, 2014 10:17:01 AM (8 years ago)
Author:
vondreele
Message:

implement Bragg peaks in SASD - required new fortran routines
implement unified (Guinier + Porod) and Porod models in SASD
implement monodisperse models in SASD
correct bin width issue in lognormal, etc. fitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1248 r1274  
    712712    sumDf = np.sum(Df)
    713713    return Df,dFdp,dFds,dFdg,dFdsh
     714
     715def getPsVoigt(pos,sig,gam,xdata):
     716    'needs a doc string'
     717   
     718    Df = pyd.pypsvoigt(len(xdata),xdata-pos,sig,gam)
     719    Df /= np.sum(Df)
     720    return Df
     721
     722def getdPsVoigt(pos,sig,gam,xdata):
     723    'needs a doc string'
     724   
     725    Df,dFdp,dFds,dFdg = pyd.pydpsvoigt(len(xdata),xdata-pos,sig,gam)
     726    sumDf = np.sum(Df)
     727    return Df,dFdp,dFds,dFdg
    714728
    715729def getEpsVoigt(pos,alp,bet,sig,gam,xdata):
Note: See TracChangeset for help on using the changeset viewer.