Changeset 4692 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Dec 31, 2020 10:50:22 AM (10 months ago)
Author:
vondreele
Message:

improve gain map calc - more steps for integration step

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r4685 r4692  
    12641264def MakeGainMap(image,Ix,Iy,data,masks,blkSize=128):
    12651265    import scipy.ndimage.filters as sdif
    1266     Iy *= npcosd(Ix[:-1])**3       #undo parallax 3 or 4?
     1266    Iy *= npcosd(Ix[:-1])**3       #undo parallax
    12671267    Iy *= (1000./data['distance'])**2    #undo r^2 effect
    12681268    Iy /= np.array(G2pwd.Polarization(data['PolaVal'][0],Ix[:-1],0.)[0])    #undo polarization
Note: See TracChangeset for help on using the changeset viewer.