Changeset 4570 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Sep 16, 2020 9:04:32 PM (3 years ago)
Author:
vondreele
Message:

Implement arc mask method for determining polarization with scipy minimize_scalar method to find minimum difference between arc mask on/mask off integrations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4568 r4570  
    1172811728        const = 9.e-2/(np.pi*Sample['Gonio. radius'])                  #shifts in microns
    1172911729        gconst = 2.35482 # sqrt(8 ln 2)
     11730        dx = (xdata[0][1]-xdata[0][0])*20.              #this ian approximation - not correct, but CW seems to be needed
     11731        gconst *= dx
    1173011732       
    1173111733        wx.BeginBusyCursor()
Note: See TracChangeset for help on using the changeset viewer.