Changeset 2223 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Apr 23, 2016 10:23:15 AM (6 years ago)
Author:
vondreele
Message:

make min Threshold = 0 for images on import; anything else is too confusing
further mods to OnCopyControls? - simplify & prevent image from having self as dark or background
& not allow setting of dark or background to current image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2222 r2223  
    340340        Data['Flat Bkg'] = 0.0
    341341    Data['setDefault'] = False
    342     Data['range'] = [(0,Imax),[Imin,Imax]]
     342    Data['range'] = [(0,Imax),[0,Imax]]
    343343    G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Image Controls'),Data)
    344     Masks = {'Points':[],'Rings':[],'Arcs':[],'Polygons':[],'Frames':[],'Thresholds':[(0,Imax),[Imin,Imax]]}
     344    Masks = {'Points':[],'Rings':[],'Arcs':[],'Polygons':[],'Frames':[],'Thresholds':[(0,Imax),[0,Imax]]}
    345345    G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Masks'),Masks)
    346346    G2frame.PatternTree.SetItemPyData(G2frame.PatternTree.AppendItem(Id,text='Stress/Strain'),
Note: See TracChangeset for help on using the changeset viewer.