Changeset 2775


Ignore:
Timestamp:
Apr 10, 2017 11:33:13 AM (5 years ago)
Author:
toby
Message:

make autoint polltime adjustable

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2759 r2775  
    12211221            G2frame.autoIntFrame.Raise()
    12221222            return
    1223         G2frame.autoIntFrame = AutoIntFrame(G2frame,PollTime=10.0)
     1223        PollTime = GSASIIpath.GetConfigValue('Autoint_PollTime',30.)
     1224        G2frame.autoIntFrame = AutoIntFrame(G2frame,PollTime=PollTime)
    12241225        G2frame.autoIntFrame.Bind(wx.EVT_WINDOW_DESTROY,OnDestroy) # clean up name on window close
    12251226    G2frame.dataFrame.Bind(wx.EVT_MENU, OnAutoInt, id=G2gd.wxID_IMAUTOINTEG)
     
    22952296    :param wx.Frame G2frame: main GSAS-II frame
    22962297    :param float PollTime: frequency in seconds to repeat calling the
    2297       processing loop. (Default is 3.0 seconds.)
     2298      processing loop. (Default is 30.0 seconds.)
    22982299    '''
    22992300
    2300     def __init__(self,G2frame,PollTime=60.0):
     2301    def __init__(self,G2frame,PollTime=30.0):
    23012302        def OnStart(event):
    23022303            '''Called when the start button is pressed. Changes button label
  • trunk/GSASIIlattice.py

    r2764 r2775  
    12061206    ''' Impose Laue symmetry on hkl
    12071207   
    1208     :param Laue: str Laue symbol
     1208    :param str Laue: Laue symbol, as below
     1209   
    12091210      centrosymmetric Laue groups::
    12101211       
    1211      ['-1','2/m','112/m','2/m11','mmm','-42m','-4m2','4/mmm','-3','-31m','-3m1',
    1212      '6/m','6/mmm','m3','m3m']
     1212     ['-1','2/m','112/m','2/m11','mmm','-42m','-4m2','4/mmm','-3','-31m','-3m1','6/m','6/mmm','m3','m3m']
    12131213     
    12141214      noncentrosymmetric Laue groups::
    12151215     
    1216      ['1','2','211','112','m','m11','11m','222','mm2','m2m','2mm',
    1217      '4','-4','422','4mm','3','312','321','31m','3m1',
    1218      '6','-6','622','6mm','-62m','-6m2','23','432','-43m']
     1216     ['1','2','211','112','m','m11','11m','222','mm2','m2m','2mm','4','-4','422','4mm','3','312','321','31m','3m1','6','-6','622','6mm','-62m','-6m2','23','432','-43m']
    12191217     
    12201218    :param HKLF: np.array([[h,k,l,...]]) reflection set to be converted
  • trunk/GSASIImath.py

    r2764 r2775  
    5252    Minimize the sum of squares of a function (:math:`f`) evaluated on a series of
    5353    values (y): :math:`\sum_{y=0}^{N_{obs}} f(y,{args})`   
    54     where :math:`x = arg min(\sum_{y=0}^{N_{obs}} (func(y)**2,axis=0))`
     54    where :math:`x = arg min(\sum_{y=0}^{N_{obs}} (func(y)^2,axis=0))`
    5555
    5656    :param function func: callable method or function
  • trunk/config_example.py

    r2603 r2775  
    120120Default is 10.0 degrees 2-theta.
    121121'''
     122
     123Autoint_PollTime = 30.
     124'''Specifies the frequency, in seconds that AutoInt checks for new files.
     125Default is 30 seconds
     126'''
Note: See TracChangeset for help on using the changeset viewer.