Changeset c0d873f in sasview for sansmodels/docs/sphinx/html/api/CorrLengthModel.html
- Timestamp:
- Oct 24, 2011 2:52:52 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:
- 8d70c0a
- Parents:
- 67cd7c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/docs/sphinx/html/api/CorrLengthModel.html
r512573a rc0d873f 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>CorrLengthModel — sansmodels v0.1.0 documentation</title> 11 <title>CorrLengthModel — sansmodels 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="sansmodels v0.1.0 documentation" href="../index.html" />28 <link rel="top" title="sansmodels 0.1.0 documentation" href="../index.html" /> 26 29 <link rel="up" title="Reference" href="index.html" /> 27 30 <link rel="next" title="Cos" href="Cos.html" /> … … 44 47 <a href="CoreShellModel.html" title="CoreShellModel" 45 48 accesskey="P">previous</a> |</li> 46 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>49 <li><a href="../index.html">sansmodels 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="corrlengthmodel"> 57 60 <h1>CorrLengthModel<a class="headerlink" href="#corrlengthmodel" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.models.CorrLengthModel">59 < span id="sans-models-corrlengthmodel"></span><h2><a class="reference internal" href="#module-sans.models.CorrLengthModel" title="sans.models.CorrLengthModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a><a class="headerlink" href="#module-sans.models.CorrLengthModel" title="Permalink to this headline">¶</a></h2>60 < p>CorrLengthModel function as a BaseComponent model</p>61 <div class="section" id="sans-models-corrlengthmodel"> 62 <h2><a class="reference internal" href="#module-sans.models.CorrLengthModel" title="sans.models.CorrLengthModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a><a class="headerlink" href="#sans-models-corrlengthmodel" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.models.CorrLengthModel"></span><p>CorrLengthModel function as a BaseComponent model</p> 61 64 <dl class="class"> 62 65 <dt id="sans.models.CorrLengthModel.CorrLengthModel"> … … 67 70 (1.0 + pow((q*length_l),exponent_l) )+ background</p> 68 71 <dl class="method"> 72 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__add__"> 73 <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__add__" title="Permalink to this definition">¶</a></dt> 74 <dd></dd></dl> 75 76 <dl class="method"> 77 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__div__"> 78 <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__div__" title="Permalink to this definition">¶</a></dt> 79 <dd></dd></dl> 80 81 <dl class="method"> 82 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__init__"> 83 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__init__" title="Permalink to this definition">¶</a></dt> 84 <dd><p>Initialization</p> 85 </dd></dl> 86 87 <dl class="attribute"> 88 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__module__"> 89 <tt class="descname">__module__</tt><em class="property"> = 'sans.models.CorrLengthModel'</em><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__module__" title="Permalink to this definition">¶</a></dt> 90 <dd></dd></dl> 91 92 <dl class="method"> 93 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__mul__"> 94 <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__mul__" title="Permalink to this definition">¶</a></dt> 95 <dd></dd></dl> 96 97 <dl class="method"> 98 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__str__"> 99 <tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__str__" title="Permalink to this definition">¶</a></dt> 100 <dd><table class="docutils field-list" frame="void" rules="none"> 101 <col class="field-name" /> 102 <col class="field-body" /> 103 <tbody valign="top"> 104 <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 105 </tr> 106 </tbody> 107 </table> 108 </dd></dl> 109 110 <dl class="method"> 111 <dt id="sans.models.CorrLengthModel.CorrLengthModel.__sub__"> 112 <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.__sub__" title="Permalink to this definition">¶</a></dt> 113 <dd></dd></dl> 114 115 <dl class="method"> 116 <dt id="sans.models.CorrLengthModel.CorrLengthModel._clone"> 117 <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel._clone" title="Permalink to this definition">¶</a></dt> 118 <dd><p>Internal utility function to copy the internal 119 data members to a fresh copy.</p> 120 </dd></dl> 121 122 <dl class="method"> 123 <dt id="sans.models.CorrLengthModel.CorrLengthModel._corrlength"> 124 <tt class="descname">_corrlength</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel._corrlength" title="Permalink to this definition">¶</a></dt> 125 <dd><p>Model definition</p> 126 </dd></dl> 127 128 <dl class="method"> 69 129 <dt id="sans.models.CorrLengthModel.CorrLengthModel.calculate_ER"> 70 130 <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.calculate_ER" title="Permalink to this definition">¶</a></dt> … … 79 139 <dl class="method"> 80 140 <dt id="sans.models.CorrLengthModel.CorrLengthModel.evalDistribution"> 81 <tt class="descname">evalDistribution</tt><big>(</big>< em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.evalDistribution" title="Permalink to this definition">¶</a></dt>141 <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 82 142 <dd><p>Evaluate a distribution of q-values.</p> 83 143 <ul> … … 104 164 <col class="field-body" /> 105 165 <tbody valign="top"> 106 <tr class="field "><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering166 <tr class="field-odd field"><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering 107 167 is supported for python models, thus C-models should have</p> 108 168 <blockquote class="last"> … … 120 180 <col class="field-body" /> 121 181 <tbody valign="top"> 122 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> – ndarray of scalar q-values or list [qx,qy]182 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>qdist</strong> – ndarray of scalar q-values or list [qx,qy] 123 183 where qx,qy are 1D ndarrays</td> 124 184 </tr> … … 135 195 <dl class="method"> 136 196 <dt id="sans.models.CorrLengthModel.CorrLengthModel.getParam"> 137 <tt class="descname">getParam</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParam" title="Permalink to this definition">¶</a></dt>197 <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParam" title="Permalink to this definition">¶</a></dt> 138 198 <dd><p>Set the value of a model parameter</p> 139 199 <table class="docutils field-list" frame="void" rules="none"> … … 141 201 <col class="field-body" /> 142 202 <tbody valign="top"> 143 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td>203 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> 144 204 </tr> 145 205 </tbody> … … 155 215 <dl class="method"> 156 216 <dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken"> 157 <tt class="descname">getParamListWithToken</tt><big>(</big>< em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>217 <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 158 218 <dd></dd></dl> 159 219 160 220 <dl class="method"> 161 221 <dt id="sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken"> 162 <tt class="descname">getParamWithToken</tt><big>(</big>< em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>222 <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 163 223 <dd></dd></dl> 164 224 165 225 <dl class="method"> 166 226 <dt id="sans.models.CorrLengthModel.CorrLengthModel.is_fittable"> 167 <tt class="descname">is_fittable</tt><big>(</big>< em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.is_fittable" title="Permalink to this definition">¶</a></dt>227 <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.is_fittable" title="Permalink to this definition">¶</a></dt> 168 228 <dd><p>Check if a given parameter is fittable or not</p> 169 229 <table class="docutils field-list" frame="void" rules="none"> … … 171 231 <col class="field-body" /> 172 232 <tbody valign="top"> 173 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td>233 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td> 174 234 </tr> 175 235 </tbody> … … 179 239 <dl class="method"> 180 240 <dt id="sans.models.CorrLengthModel.CorrLengthModel.run"> 181 <tt class="descname">run</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.run" title="Permalink to this definition">¶</a></dt>241 <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.run" title="Permalink to this definition">¶</a></dt> 182 242 <dd><p>Evaluate the model</p> 183 243 <p>param x: input q-value (float or [float, float] as [r, theta]) … … 187 247 <dl class="method"> 188 248 <dt id="sans.models.CorrLengthModel.CorrLengthModel.runXY"> 189 <tt class="descname">runXY</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.runXY" title="Permalink to this definition">¶</a></dt>249 <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.runXY" title="Permalink to this definition">¶</a></dt> 190 250 <dd><p>Evaluate the model</p> 191 251 <p>param x: input q-value (float or [float, float] as [qx, qy]) … … 195 255 <dl class="method"> 196 256 <dt id="sans.models.CorrLengthModel.CorrLengthModel.setParam"> 197 <tt class="descname">setParam</tt><big>(</big>< em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParam" title="Permalink to this definition">¶</a></dt>257 <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParam" title="Permalink to this definition">¶</a></dt> 198 258 <dd><p>Set the value of a model parameter</p> 199 259 <table class="docutils field-list" frame="void" rules="none"> … … 201 261 <col class="field-body" /> 202 262 <tbody valign="top"> 203 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">263 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 204 264 <li><strong>name</strong> – name of the parameter</li> 205 265 <li><strong>value</strong> – value of the parameter</li> … … 213 273 <dl class="method"> 214 274 <dt id="sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken"> 215 <tt class="descname">setParamWithToken</tt><big>(</big>< em>name</em>, <em>value</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>275 <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.CorrLengthModel.CorrLengthModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 216 276 <dd></dd></dl> 217 277 … … 230 290 <ul> 231 291 <li><a class="reference internal" href="#">CorrLengthModel</a><ul> 232 <li><a class="reference internal" href="# module-sans.models.CorrLengthModel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li>292 <li><a class="reference internal" href="#sans-models-corrlengthmodel"><tt class="docutils literal"><span class="pre">sans.models.CorrLengthModel</span></tt></a></li> 233 293 </ul> 234 294 </li> … … 249 309 <h3>Quick search</h3> 250 310 <form class="search" action="../search.html" method="get"> 251 <input type="text" name="q" size="18"/>311 <input type="text" name="q" /> 252 312 <input type="submit" value="Go" /> 253 313 <input type="hidden" name="check_keywords" value="yes" /> … … 278 338 <a href="CoreShellModel.html" title="CoreShellModel" 279 339 >previous</a> |</li> 280 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>340 <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> 281 341 <li><a href="index.html" >Reference</a> »</li> 282 342 </ul> … … 284 344 <div class="footer"> 285 345 © Copyright 2010, sans group. 286 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.346 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 287 347 </div> 288 348 </body>
Note: See TracChangeset
for help on using the changeset viewer.