Changeset 30d3a1b in sasview for fittingview/docs/sphinx/html/api/perspectives/fitting/fit_thread.html
- Timestamp:
- Oct 24, 2011 1:15:13 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 89b7858
- Parents:
- 63edfb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/docs/sphinx/html/api/perspectives/fitting/fit_thread.html
r5a9a98f r30d3a1b 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 5 6 6 7 <html xmlns="http://www.w3.org/1999/xhtml"> … … 8 9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 9 10 10 <title>fit_thread — sansview v0.1.0 documentation</title> 11 <title>fit_thread — sansview 0.1.0 documentation</title> 12 11 13 <link rel="stylesheet" href="../../../_static/default.css" type="text/css" /> 12 14 <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> 15 13 16 <script type="text/javascript"> 14 17 var DOCUMENTATION_OPTIONS = { … … 23 26 <script type="text/javascript" src="../../../_static/underscore.js"></script> 24 27 <script type="text/javascript" src="../../../_static/doctools.js"></script> 25 <link rel="top" title="sansview v0.1.0 documentation" href="../../../index.html" />28 <link rel="top" title="sansview 0.1.0 documentation" href="../../../index.html" /> 26 29 <link rel="up" title="Reference" href="index.html" /> 27 <link rel="next" title="f itpage" href="fitpage.html" />28 <link rel="prev" title=" console" href="console.html" />30 <link rel="next" title="ftol_dialog" href="ftol_dialog.html" /> 31 <link rel="prev" title="fitting_widgets" href="fitting_widgets.html" /> 29 32 </head> 30 33 <body> … … 39 42 >modules</a> |</li> 40 43 <li class="right" > 41 <a href="f itpage.html" title="fitpage"44 <a href="ftol_dialog.html" title="ftol_dialog" 42 45 accesskey="N">next</a> |</li> 43 46 <li class="right" > 44 <a href=" console.html" title="console"47 <a href="fitting_widgets.html" title="fitting_widgets" 45 48 accesskey="P">previous</a> |</li> 46 <li><a href="../../../index.html">sansview v0.1.0 documentation</a> »</li>49 <li><a href="../../../index.html">sansview 0.1.0 documentation</a> »</li> 47 50 <li><a href="index.html" accesskey="U">Reference</a> »</li> 48 51 </ul> … … 56 59 <div class="section" id="fit-thread"> 57 60 <h1>fit_thread<a class="headerlink" href="#fit-thread" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.perspectives.fitting.fit_thread">59 < span id="sans-perspectives-fitting-fit-thread"></span><h2><a class="reference internal" href="#module-sans.perspectives.fitting.fit_thread" title="sans.perspectives.fitting.fit_thread"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.fit_thread</span></tt></a><a class="headerlink" href="#module-sans.perspectives.fitting.fit_thread" title="Permalink to this headline">¶</a></h2>60 < dl class="class">61 <div class="section" id="sans-perspectives-fitting-fit-thread"> 62 <h2><a class="reference internal" href="#module-sans.perspectives.fitting.fit_thread" title="sans.perspectives.fitting.fit_thread"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.fit_thread</span></tt></a><a class="headerlink" href="#sans-perspectives-fitting-fit-thread" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.perspectives.fitting.fit_thread"></span><dl class="class"> 61 64 <dt id="sans.perspectives.fitting.fit_thread.FitThread"> 62 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">FitThread</tt>< big>(</big><em>fn</em>, <em>page_id</em>, <em>handler</em>, <em>pars=None</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em>, <em>ftol=None</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread" title="Permalink to this definition">¶</a></dt>65 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">FitThread</tt><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread" title="Permalink to this definition">¶</a></dt> 63 66 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">data_util.calcthread.CalcThread</span></tt></p> 64 67 <p>Thread performing the fit</p> 65 68 <dl class="method"> 69 <dt id="sans.perspectives.fitting.fit_thread.FitThread.__init__"> 70 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.__init__" title="Permalink to this definition">¶</a></dt> 71 <dd></dd></dl> 72 73 <dl class="attribute"> 74 <dt id="sans.perspectives.fitting.fit_thread.FitThread.__module__"> 75 <tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.fit_thread'</em><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.__module__" title="Permalink to this definition">¶</a></dt> 76 <dd></dd></dl> 77 78 <dl class="method"> 79 <dt id="sans.perspectives.fitting.fit_thread.FitThread._run"> 80 <tt class="descname">_run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread._run" title="Permalink to this definition">¶</a></dt> 81 <dd><p>Internal function to manage the thread.</p> 82 </dd></dl> 83 84 <dl class="method"> 66 85 <dt id="sans.perspectives.fitting.fit_thread.FitThread.complete"> 67 <tt class="descname">complete</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.complete" title="Permalink to this definition">¶</a></dt>86 <tt class="descname">complete</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.complete" title="Permalink to this definition">¶</a></dt> 68 87 <dd><p>Update the GUI with the completed results from a work unit.</p> 69 88 </dd></dl> … … 89 108 <col class="field-body" /> 90 109 <tbody valign="top"> 91 <tr class="field "><th class="field-name" colspan="2">Raises KeyboardInterrupt:</th></tr>92 <tr ><td> </td><td class="field-body">when the thread is interrupted</td>110 <tr class="field-odd field"><th class="field-name" colspan="2">Raises KeyboardInterrupt:</th></tr> 111 <tr class="field-odd field"><td> </td><td class="field-body">when the thread is interrupted</td> 93 112 </tr> 94 113 </tbody> … … 103 122 <dl class="method"> 104 123 <dt id="sans.perspectives.fitting.fit_thread.FitThread.queue"> 105 <tt class="descname">queue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.queue" title="Permalink to this definition">¶</a></dt>124 <tt class="descname">queue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.queue" title="Permalink to this definition">¶</a></dt> 106 125 <dd><p>Add a work unit to the end of the queue. See the compute() 107 126 method for details of the arguments to the work unit.</p> … … 110 129 <dl class="method"> 111 130 <dt id="sans.perspectives.fitting.fit_thread.FitThread.ready"> 112 <tt class="descname">ready</tt><big>(</big>< em>delay=0.0</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.ready" title="Permalink to this definition">¶</a></dt>131 <tt class="descname">ready</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.ready" title="Permalink to this definition">¶</a></dt> 113 132 <dd><p>Ready for another update after delay=t seconds. Call 114 133 this for threads which can show intermediate results from … … 118 137 <dl class="method"> 119 138 <dt id="sans.perspectives.fitting.fit_thread.FitThread.requeue"> 120 <tt class="descname">requeue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.requeue" title="Permalink to this definition">¶</a></dt>139 <tt class="descname">requeue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.requeue" title="Permalink to this definition">¶</a></dt> 121 140 <dd><p>Replace the work unit on the end of the queue. See the compute() 122 141 method for details of the arguments to the work unit.</p> … … 125 144 <dl class="method"> 126 145 <dt id="sans.perspectives.fitting.fit_thread.FitThread.reset"> 127 <tt class="descname">reset</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.reset" title="Permalink to this definition">¶</a></dt>146 <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.reset" title="Permalink to this definition">¶</a></dt> 128 147 <dd><p>Clear the queue and start a new work unit. See the compute() 129 148 method for details of the arguments to the work unit.</p> … … 140 159 <dl class="method"> 141 160 <dt id="sans.perspectives.fitting.fit_thread.FitThread.update"> 142 <tt class="descname">update</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.update" title="Permalink to this definition">¶</a></dt>161 <tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.FitThread.update" title="Permalink to this definition">¶</a></dt> 143 162 <dd><p>Update GUI with the lastest results from the current work unit.</p> 144 163 </dd></dl> … … 148 167 <dl class="function"> 149 168 <dt id="sans.perspectives.fitting.fit_thread.map_apply"> 150 <tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">map_apply</tt><big>(</big>< em>arguments</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.map_apply" title="Permalink to this definition">¶</a></dt>169 <tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">map_apply</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.map_apply" title="Permalink to this definition">¶</a></dt> 151 170 <dd></dd></dl> 152 171 153 172 <dl class="function"> 154 173 <dt id="sans.perspectives.fitting.fit_thread.map_getattr"> 155 <tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">map_getattr</tt><big>(</big>< em>classInstance</em>, <em>classFunc</em>, <em>*args</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.map_getattr" title="Permalink to this definition">¶</a></dt>174 <tt class="descclassname">sans.perspectives.fitting.fit_thread.</tt><tt class="descname">map_getattr</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.fit_thread.map_getattr" title="Permalink to this definition">¶</a></dt> 156 175 <dd><p>Take an instance of a class and a function name as a string. 157 176 Execute class.function and return result</p> … … 170 189 <ul> 171 190 <li><a class="reference internal" href="#">fit_thread</a><ul> 172 <li><a class="reference internal" href="# module-sans.perspectives.fitting.fit_thread"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.fit_thread</span></tt></a></li>191 <li><a class="reference internal" href="#sans-perspectives-fitting-fit-thread"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.fit_thread</span></tt></a></li> 173 192 </ul> 174 193 </li> … … 176 195 177 196 <h4>Previous topic</h4> 178 <p class="topless"><a href=" console.html"179 title="previous chapter"> console</a></p>197 <p class="topless"><a href="fitting_widgets.html" 198 title="previous chapter">fitting_widgets</a></p> 180 199 <h4>Next topic</h4> 181 <p class="topless"><a href="f itpage.html"182 title="next chapter">f itpage</a></p>200 <p class="topless"><a href="ftol_dialog.html" 201 title="next chapter">ftol_dialog</a></p> 183 202 <h3>This Page</h3> 184 203 <ul class="this-page-menu"> … … 189 208 <h3>Quick search</h3> 190 209 <form class="search" action="../../../search.html" method="get"> 191 <input type="text" name="q" size="18"/>210 <input type="text" name="q" /> 192 211 <input type="submit" value="Go" /> 193 212 <input type="hidden" name="check_keywords" value="yes" /> … … 213 232 >modules</a> |</li> 214 233 <li class="right" > 215 <a href="f itpage.html" title="fitpage"234 <a href="ftol_dialog.html" title="ftol_dialog" 216 235 >next</a> |</li> 217 236 <li class="right" > 218 <a href=" console.html" title="console"237 <a href="fitting_widgets.html" title="fitting_widgets" 219 238 >previous</a> |</li> 220 <li><a href="../../../index.html">sansview v0.1.0 documentation</a> »</li>239 <li><a href="../../../index.html">sansview 0.1.0 documentation</a> »</li> 221 240 <li><a href="index.html" >Reference</a> »</li> 222 241 </ul> … … 224 243 <div class="footer"> 225 244 © Copyright 2010, sans group. 226 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.245 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 227 246 </div> 228 247 </body>
Note: See TracChangeset
for help on using the changeset viewer.