Changeset 4697 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Jan 2, 2021 9:30:28 AM (11 months ago)
Author:
vondreele
Message:

move superminusone definition to header block in G2pwdrGUI
replace deprecated GetLabel? with GetItemLabelText? in G2restrGUI
set default gain map color to 'gray' & force all gain map > 1200 or < 800 toequal 1000 - gets rid of zingers & other flaws

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r4692 r4697  
    12841284            Ipix = IyInt(TA[0])
    12851285            GainMap[iBeg:iFin,jBeg:jFin] = image[iBeg:iFin,jBeg:jFin]/(Ipix*TA[3])
    1286     GainMap = np.nan_to_num(GainMap)
     1286    GainMap = np.nan_to_num(GainMap,1.0)
    12871287    GainMap = sdif.gaussian_filter(GainMap,3.,order=0)
    12881288    return 1./GainMap
Note: See TracChangeset for help on using the changeset viewer.