Changeset 2225 for trunk/GSASIIimgGUI.py


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

now make it float(data.get('Flat Bkg',0)) in GetImageZ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2224 r2225  
    9090    if darkImg: del darkImg         #force cleanup
    9191    if backImg: del backImg
    92     sumImg -= data.get('Flat Bkg',0)
     92    sumImg -= float(data.get('Flat Bkg',0))
    9393    Imax = np.max(sumImg)
    9494    data['range'] = [(0,Imax),[0,Imax]]
Note: See TracChangeset for help on using the changeset viewer.