Changeset 30d3a1b in sasview for fittingview/docs/sphinx/html/api/perspectives/fitting/model_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/model_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>model_thread — sansview v0.1.0 documentation</title> 11 <title>model_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=" models" href="models.html" />28 <link rel="prev" title=" hint_fitpage" href="hint_fitpage.html" />30 <link rel="next" title="pagestate" href="pagestate.html" /> 31 <link rel="prev" title="models" href="models.html" /> 29 32 </head> 30 33 <body> … … 39 42 >modules</a> |</li> 40 43 <li class="right" > 44 <a href="pagestate.html" title="pagestate" 45 accesskey="N">next</a> |</li> 46 <li class="right" > 41 47 <a href="models.html" title="models" 42 accesskey="N">next</a> |</li>43 <li class="right" >44 <a href="hint_fitpage.html" title="hint_fitpage"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="model-thread"> 57 60 <h1>model_thread<a class="headerlink" href="#model-thread" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.perspectives.fitting.model_thread">59 < span id="sans-perspectives-fitting-model-thread"></span><h2><a class="reference internal" href="#module-sans.perspectives.fitting.model_thread" title="sans.perspectives.fitting.model_thread"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.model_thread</span></tt></a><a class="headerlink" href="#module-sans.perspectives.fitting.model_thread" title="Permalink to this headline">¶</a></h2>60 < dl class="class">61 <div class="section" id="sans-perspectives-fitting-model-thread"> 62 <h2><a class="reference internal" href="#module-sans.perspectives.fitting.model_thread" title="sans.perspectives.fitting.model_thread"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.model_thread</span></tt></a><a class="headerlink" href="#sans-perspectives-fitting-model-thread" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.perspectives.fitting.model_thread"></span><dl class="class"> 61 64 <dt id="sans.perspectives.fitting.model_thread.Calc1D"> 62 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.model_thread.</tt><tt class="descname">Calc1D</tt>< big>(</big><em>x</em>, <em>model</em>, <em>page_id</em>, <em>data=None</em>, <em>qmin=None</em>, <em>qmax=None</em>, <em>smearer=None</em>, <em>toggle_mode_on=False</em>, <em>state=None</em>, <em>completefn=None</em>, <em>update_chisqr=True</em>, <em>updatefn=None</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D" title="Permalink to this definition">¶</a></dt>65 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.model_thread.</tt><tt class="descname">Calc1D</tt><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D" 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>Compute 1D data</p> 65 68 <dl class="method"> 69 <dt id="sans.perspectives.fitting.model_thread.Calc1D.__init__"> 70 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.__init__" title="Permalink to this definition">¶</a></dt> 71 <dd></dd></dl> 72 73 <dl class="attribute"> 74 <dt id="sans.perspectives.fitting.model_thread.Calc1D.__module__"> 75 <tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.model_thread'</em><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.__module__" title="Permalink to this definition">¶</a></dt> 76 <dd></dd></dl> 77 78 <dl class="method"> 79 <dt id="sans.perspectives.fitting.model_thread.Calc1D._run"> 80 <tt class="descname">_run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D._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.model_thread.Calc1D.complete"> 67 <tt class="descname">complete</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.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.model_thread.Calc1D.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> … … 97 116 <dl class="method"> 98 117 <dt id="sans.perspectives.fitting.model_thread.Calc1D.queue"> 99 <tt class="descname">queue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.queue" title="Permalink to this definition">¶</a></dt>118 <tt class="descname">queue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.queue" title="Permalink to this definition">¶</a></dt> 100 119 <dd><p>Add a work unit to the end of the queue. See the compute() 101 120 method for details of the arguments to the work unit.</p> … … 104 123 <dl class="method"> 105 124 <dt id="sans.perspectives.fitting.model_thread.Calc1D.ready"> 106 <tt class="descname">ready</tt><big>(</big>< em>delay=0.0</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.ready" title="Permalink to this definition">¶</a></dt>125 <tt class="descname">ready</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.ready" title="Permalink to this definition">¶</a></dt> 107 126 <dd><p>Ready for another update after delay=t seconds. Call 108 127 this for threads which can show intermediate results from … … 112 131 <dl class="method"> 113 132 <dt id="sans.perspectives.fitting.model_thread.Calc1D.requeue"> 114 <tt class="descname">requeue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.requeue" title="Permalink to this definition">¶</a></dt>133 <tt class="descname">requeue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.requeue" title="Permalink to this definition">¶</a></dt> 115 134 <dd><p>Replace the work unit on the end of the queue. See the compute() 116 135 method for details of the arguments to the work unit.</p> … … 119 138 <dl class="method"> 120 139 <dt id="sans.perspectives.fitting.model_thread.Calc1D.reset"> 121 <tt class="descname">reset</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.reset" title="Permalink to this definition">¶</a></dt>140 <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.reset" title="Permalink to this definition">¶</a></dt> 122 141 <dd><p>Clear the queue and start a new work unit. See the compute() 123 142 method for details of the arguments to the work unit.</p> … … 140 159 <dl class="method"> 141 160 <dt id="sans.perspectives.fitting.model_thread.Calc1D.update"> 142 <tt class="descname">update</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc1D.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.model_thread.Calc1D.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="class"> 149 168 <dt id="sans.perspectives.fitting.model_thread.Calc2D"> 150 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.model_thread.</tt><tt class="descname">Calc2D</tt>< big>(</big><em>x</em>, <em>y</em>, <em>data</em>, <em>model</em>, <em>smearer</em>, <em>qmin</em>, <em>qmax</em>, <em>qstep</em>, <em>page_id</em>, <em>state=None</em>, <em>toggle_mode_on=False</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>update_chisqr=True</em>, <em>yieldtime=0.040000000000000001</em>, <em>worktime=0.040000000000000001</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D" title="Permalink to this definition">¶</a></dt>169 <em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.model_thread.</tt><tt class="descname">Calc2D</tt><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D" title="Permalink to this definition">¶</a></dt> 151 170 <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">data_util.calcthread.CalcThread</span></tt></p> 152 171 <p>Compute 2D model … … 155 174 and I(qx, qy) = I(-qx, -qy) is assumed.</p> 156 175 <dl class="method"> 176 <dt id="sans.perspectives.fitting.model_thread.Calc2D.__init__"> 177 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.__init__" title="Permalink to this definition">¶</a></dt> 178 <dd></dd></dl> 179 180 <dl class="attribute"> 181 <dt id="sans.perspectives.fitting.model_thread.Calc2D.__module__"> 182 <tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.model_thread'</em><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.__module__" title="Permalink to this definition">¶</a></dt> 183 <dd></dd></dl> 184 185 <dl class="method"> 186 <dt id="sans.perspectives.fitting.model_thread.Calc2D._run"> 187 <tt class="descname">_run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D._run" title="Permalink to this definition">¶</a></dt> 188 <dd><p>Internal function to manage the thread.</p> 189 </dd></dl> 190 191 <dl class="method"> 157 192 <dt id="sans.perspectives.fitting.model_thread.Calc2D.complete"> 158 <tt class="descname">complete</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.complete" title="Permalink to this definition">¶</a></dt>193 <tt class="descname">complete</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.complete" title="Permalink to this definition">¶</a></dt> 159 194 <dd><p>Update the GUI with the completed results from a work unit.</p> 160 195 </dd></dl> … … 188 223 <dl class="method"> 189 224 <dt id="sans.perspectives.fitting.model_thread.Calc2D.queue"> 190 <tt class="descname">queue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.queue" title="Permalink to this definition">¶</a></dt>225 <tt class="descname">queue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.queue" title="Permalink to this definition">¶</a></dt> 191 226 <dd><p>Add a work unit to the end of the queue. See the compute() 192 227 method for details of the arguments to the work unit.</p> … … 195 230 <dl class="method"> 196 231 <dt id="sans.perspectives.fitting.model_thread.Calc2D.ready"> 197 <tt class="descname">ready</tt><big>(</big>< em>delay=0.0</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.ready" title="Permalink to this definition">¶</a></dt>232 <tt class="descname">ready</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.ready" title="Permalink to this definition">¶</a></dt> 198 233 <dd><p>Ready for another update after delay=t seconds. Call 199 234 this for threads which can show intermediate results from … … 203 238 <dl class="method"> 204 239 <dt id="sans.perspectives.fitting.model_thread.Calc2D.requeue"> 205 <tt class="descname">requeue</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.requeue" title="Permalink to this definition">¶</a></dt>240 <tt class="descname">requeue</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.requeue" title="Permalink to this definition">¶</a></dt> 206 241 <dd><p>Replace the work unit on the end of the queue. See the compute() 207 242 method for details of the arguments to the work unit.</p> … … 210 245 <dl class="method"> 211 246 <dt id="sans.perspectives.fitting.model_thread.Calc2D.reset"> 212 <tt class="descname">reset</tt><big>(</big>< em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.reset" title="Permalink to this definition">¶</a></dt>247 <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.reset" title="Permalink to this definition">¶</a></dt> 213 248 <dd><p>Clear the queue and start a new work unit. See the compute() 214 249 method for details of the arguments to the work unit.</p> … … 225 260 <dl class="method"> 226 261 <dt id="sans.perspectives.fitting.model_thread.Calc2D.update"> 227 <tt class="descname">update</tt><big>(</big>< em>**kwargs</em><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.update" title="Permalink to this definition">¶</a></dt>262 <tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.model_thread.Calc2D.update" title="Permalink to this definition">¶</a></dt> 228 263 <dd><p>Update GUI with the lastest results from the current work unit.</p> 229 264 </dd></dl> … … 243 278 <ul> 244 279 <li><a class="reference internal" href="#">model_thread</a><ul> 245 <li><a class="reference internal" href="# module-sans.perspectives.fitting.model_thread"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.model_thread</span></tt></a></li>280 <li><a class="reference internal" href="#sans-perspectives-fitting-model-thread"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.model_thread</span></tt></a></li> 246 281 </ul> 247 282 </li> … … 249 284 250 285 <h4>Previous topic</h4> 251 <p class="topless"><a href=" hint_fitpage.html"252 title="previous chapter"> hint_fitpage</a></p>286 <p class="topless"><a href="models.html" 287 title="previous chapter">models</a></p> 253 288 <h4>Next topic</h4> 254 <p class="topless"><a href=" models.html"255 title="next chapter"> models</a></p>289 <p class="topless"><a href="pagestate.html" 290 title="next chapter">pagestate</a></p> 256 291 <h3>This Page</h3> 257 292 <ul class="this-page-menu"> … … 262 297 <h3>Quick search</h3> 263 298 <form class="search" action="../../../search.html" method="get"> 264 <input type="text" name="q" size="18"/>299 <input type="text" name="q" /> 265 300 <input type="submit" value="Go" /> 266 301 <input type="hidden" name="check_keywords" value="yes" /> … … 286 321 >modules</a> |</li> 287 322 <li class="right" > 323 <a href="pagestate.html" title="pagestate" 324 >next</a> |</li> 325 <li class="right" > 288 326 <a href="models.html" title="models" 289 >next</a> |</li>290 <li class="right" >291 <a href="hint_fitpage.html" title="hint_fitpage"292 327 >previous</a> |</li> 293 <li><a href="../../../index.html">sansview v0.1.0 documentation</a> »</li>328 <li><a href="../../../index.html">sansview 0.1.0 documentation</a> »</li> 294 329 <li><a href="index.html" >Reference</a> »</li> 295 330 </ul> … … 297 332 <div class="footer"> 298 333 © Copyright 2010, sans group. 299 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.334 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 300 335 </div> 301 336 </body>
Note: See TracChangeset
for help on using the changeset viewer.