Changeset 182 for trunk/GSASII.py


Ignore:
Timestamp:
Nov 22, 2010 9:22:14 AM (12 years ago)
Author:
vondreele
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r179 r182  
    407407                        self.PatternTree.SetItemPyData(self.PatternTree.AppendItem(Id,text='Comments'),Comments)
    408408                        Imax = np.amax(Image)
    409                         Imin = np.amin(Image)
     409                        Imin = max(0.0,np.amin(Image))          #force positive
    410410                        if self.imageDefault:
    411411                            Data = copy.copy(self.imageDefault)
Note: See TracChangeset for help on using the changeset viewer.