Changeset 4692


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

improve gain map calc - more steps for integration step

Location:
trunk
Files:
2 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
  • trunk/GSASIIimgGUI.py

    r4685 r4692  
    165165        Data['outAzimuths'] = 1
    166166        Data['LRazimuth'] = [0.,360.]
    167         Data['outChannels'] = 2500
     167        Data['outChannels'] = 5000
    168168        Data['SampleAbs'] = [0.0,False]
    169169        Data['binType'] = '2-theta'
Note: See TracChangeset for help on using the changeset viewer.