Changeset 1906


Ignore:
Timestamp:
Jun 23, 2015 12:58:59 PM (8 years ago)
Author:
vondreele
Message:

set lowest map search to 1.0 (from 10.)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIddataGUI.py

    r1902 r1906  
    833833        twinsizer = wx.BoxSizer(wx.VERTICAL)
    834834        topsizer = wx.BoxSizer(wx.HORIZONTAL)         
    835         topsizer.Add(wx.StaticText(DData,wx.ID_ANY,' Merohedral/pseudomerohedral twins: '),0,WACV)
     835        topsizer.Add(wx.StaticText(DData,wx.ID_ANY,' Merohedral twins: '),0,WACV)
    836836        addtwin = wx.CheckBox(DData,wx.ID_ANY,label=' Add Twin Law')
    837837        addtwin.Bind(wx.EVT_CHECKBOX, OnAddTwin)
  • trunk/GSASIIgrid.py

    r1898 r1906  
    27512751        wtval.SetValue('%.3f'%(val))
    27522752       
     2753    def OnCompression(event):
     2754        data[0] = int(comp.GetValue())
     2755       
    27532756    def onCopyPlotCtrls(event):
    27542757        '''Respond to menu item to copy multiple sections from a histogram.
     
    27672770    if 'wtFactor' not in data[0]:
    27682771        data[0] = {'wtFactor':1.0}
     2772#    if kind == 'PWDR' and 'Compression' not in data[0]:
     2773#        data[0]['Compression'] = 1
    27692774    #if isinstance(data[1],list) and kind == 'HKLF':
    27702775    if 'list' in str(type(data[1])) and kind == 'HKLF':
     
    27992804    wtval.Bind(wx.EVT_KILL_FOCUS,OnWtFactor)
    28002805    wtSizer.Add(wtval,0,WACV)
     2806#    if kind == 'PWDR':         #possible future compression feature; NB above patch as well
     2807#        wtSizer.Add(wx.StaticText(G2frame.dataDisplay,-1,' Compression factor: '),0,WACV)
     2808#        choice = ['1','2','3','4','5','6']
     2809#        comp = wx.ComboBox(parent=G2frame.dataDisplay,choices=choice,
     2810#            style=wx.CB_READONLY|wx.CB_DROPDOWN)
     2811#        comp.SetValue(str(data[0]['Compression']))
     2812#        comp.Bind(wx.EVT_COMBOBOX, OnCompression)
     2813#        wtSizer.Add(comp,0,WACV)
    28012814    mainSizer.Add(wtSizer)
    28022815    if data[0].get('Dummy'):
  • trunk/GSASIIphsGUI.py

    r1897 r1906  
    735735                try:
    736736                    res = float(cutOff.GetValue())
    737                     if 10.0 <= res <= 100.:
     737                    if 1.0 <= res <= 100.:
    738738                        Map['cutOff'] = res
    739739                except ValueError:
Note: See TracChangeset for help on using the changeset viewer.