Changeset 375 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Sep 19, 2011 1:20:32 PM (11 years ago)
Author:
vondreele
Message:

GSASIIgrid.py - add Pawley estimator to menu
GSASIIlattice.py - fix error in CosSinAngle?
GSASIIphsGUI.py - add Pawley estimator & modify size mustrain defaults
GSASIIpwd.py - modify polarization deriv
GSASIIstruct.py - modify refl index issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r373 r375  
    137137    pola = ((1.0-Pola)*npcosd(Azm)**2+Pola*npsind(Azm)**2)*npcosd(Tth)**2+   \
    138138        (1.0-Pola)*npsind(Azm)**2+Pola*npcosd(Azm)**2
    139     dpdPola = npsind(Azm)**2*npsind(Tth)**2
    140     return pola,dpdPola
     139    dpdPola = -npsind(Tth)**2*(npsind(Azm)**2-npcosd(Azm)**2)
     140    return pola,dpdPola/pola
    141141   
    142142def Oblique(ObCoeff,Tth):
Note: See TracChangeset for help on using the changeset viewer.