Changeset 2224 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Apr 25, 2016 11:27:15 AM (6 years ago)
Author:
vondreele
Message:

Use 0 instead of 0. for Flat Bkg - gave error in later numpy version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2223 r2224  
    9090    if darkImg: del darkImg         #force cleanup
    9191    if backImg: del backImg
    92     sumImg -= data.get('Flat Bkg',0.)
    93     Imin = max(0.,np.min(sumImg))
     92    sumImg -= data.get('Flat Bkg',0)
    9493    Imax = np.max(sumImg)
    95     data['range'] = [(Imin,Imax),[Imin,Imax]]
     94    data['range'] = [(0,Imax),[0,Imax]]
    9695    return sumImg
    9796   
Note: See TracChangeset for help on using the changeset viewer.