Changeset 2694 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Feb 7, 2017 2:50:13 PM (5 years ago)
Author:
vondreele
Message:

after a repeat of a sequential fit, clear away old plot. Removes possibly bad parameter references
make note in G2grid of possible problem of pseudo vars storage in Controls
set new patch value for penetration corr to 0.5; above that convert to new value
fix peak picking problem when pattern has excluded regions
remove RaisePageNoRefresh? from Seq result plotting - irrelevant if plot is deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2692 r2694  
    136136    if 'setdist' not in data:
    137137        data['setdist'] = data['distance']
    138     distSizer.Add(G2G.ValidatedTxtCtrl(G2frame.dataDisplay,data,'setdist',nDig=(10,2),
     138    distSizer.Add(G2G.ValidatedTxtCtrl(G2frame.dataDisplay,data,'setdist',nDig=(10,4),
    139139            typeHint=float),0,WACV)
    140140    mainSizer.Add(distSizer,0)
     
    169169    if 'varyList' not in data:
    170170        data['varyList'] = {'dist':True,'det-X':True,'det-Y':True,'tilt':True,'phi':True,'dep':False,'wave':False}
    171     if data['DetDepth'] > 0.1:
     171    if data['DetDepth'] > 0.5:
    172172        data['DetDepth'] /= data['distance']
    173173#end patch
     
    217217                if Id:
    218218                    G2frame.PatternTree.SetItemPyData(Id,SeqResult)
     219                    G2frame.G2plotNB.Delete('Sequential refinement')    #clear away probably invalid plot
    219220                else:
    220221                    Id = G2frame.PatternTree.AppendItem(parent=G2frame.root,text='Sequential image calibration results')
     
    19951996        if Id:
    19961997            G2frame.PatternTree.SetItemPyData(Id,SeqResult)
     1998            G2frame.G2plotNB.Delete('Sequential refinement')    #clear away probably invalid plot
    19971999        else:
    19982000            Id = G2frame.PatternTree.AppendItem(parent=G2frame.root,text='Sequential strain fit results')
Note: See TracChangeset for help on using the changeset viewer.