Changeset 4301 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Feb 13, 2020 7:26:18 PM (20 months ago)
Author:
toby
Message:

initialize SpotMask? for image import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r4201 r4301  
    359359    Data['range'] = [(0,Imax),[0,Imax]]
    360360    G2frame.GPXtree.SetItemPyData(G2frame.GPXtree.AppendItem(Id,text='Image Controls'),Data)
    361     Masks = {'Points':[],'Rings':[],'Arcs':[],'Polygons':[],'Frames':[],'Thresholds':[(0,Imax),[0,Imax]]}
     361    Masks = {'Points':[],'Rings':[],'Arcs':[],'Polygons':[],'Frames':[],
     362                 'Thresholds':[(0,Imax),[0,Imax]],
     363                 'SpotMask':{'esdMul':2,'spotMask':None}}
    362364    G2frame.GPXtree.SetItemPyData(G2frame.GPXtree.AppendItem(Id,text='Masks'),Masks)
    363365    G2frame.GPXtree.SetItemPyData(G2frame.GPXtree.AppendItem(Id,text='Stress/Strain'),
Note: See TracChangeset for help on using the changeset viewer.