Changeset 1133


Ignore:
Timestamp:
Oct 31, 2013 10:31:03 AM (8 years ago)
Author:
vondreele
Message:

fix to polarization calc for images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1131 r1133  
    812812            H0 /= G2pwd.Oblique(data['Oblique'][0],H2[:-1])
    813813        if 'SASD' in data['type'] and data['PolaVal'][1]:
    814             H0 /= np.array([G2pwd.Polarization(data['PolaVal'][0],H2[:-1],Azm=azm)[0] for azm in H1[:-1]+np.diff(H1)])
     814            H0 /= np.array([G2pwd.Polarization(data['PolaVal'][0],H2[:-1],Azm=azm)[0] for azm in H1[:-1]+np.diff(H1)/2.])
    815815        Nup += 1
    816816        dlg.Update(Nup)
Note: See TracChangeset for help on using the changeset viewer.