Changeset c0d873f in sasview for sansmodels/docs/sphinx/html/api/PowerLawModel.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/PowerLawModel.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>PowerLawModel — sansmodels v0.1.0 documentation</title> 11 <title>PowerLawModel — 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="ProlateModel" href="ProlateModel.html" /> … … 44 47 <a href="PowerLawAbsModel.html" title="PowerLawAbsModel" 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="powerlawmodel"> 57 60 <h1>PowerLawModel<a class="headerlink" href="#powerlawmodel" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.models.PowerLawModel">59 < span id="sans-models-powerlawmodel"></span><h2><a class="reference internal" href="#module-sans.models.PowerLawModel" title="sans.models.PowerLawModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a><a class="headerlink" href="#module-sans.models.PowerLawModel" title="Permalink to this headline">¶</a></h2>60 < p>Provide F(x) = scale* (x)^(-m) + bkd61 <div class="section" id="sans-models-powerlawmodel"> 62 <h2><a class="reference internal" href="#module-sans.models.PowerLawModel" title="sans.models.PowerLawModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a><a class="headerlink" href="#sans-models-powerlawmodel" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.models.PowerLawModel"></span><p>Provide F(x) = scale* (x)^(-m) + bkd 61 64 Power law function as a BaseComponent model</p> 62 65 <dl class="class"> … … 73 76 </dl> 74 77 <dl class="method"> 78 <dt id="sans.models.PowerLawModel.PowerLawModel._PowerLaw"> 79 <tt class="descname">_PowerLaw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel._PowerLaw" title="Permalink to this definition">¶</a></dt> 80 <dd><p>Evaluate F(x) = scale* (x)^(-m) + bkd</p> 81 </dd></dl> 82 83 <dl class="method"> 84 <dt id="sans.models.PowerLawModel.PowerLawModel.__add__"> 85 <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__add__" title="Permalink to this definition">¶</a></dt> 86 <dd></dd></dl> 87 88 <dl class="method"> 89 <dt id="sans.models.PowerLawModel.PowerLawModel.__div__"> 90 <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__div__" title="Permalink to this definition">¶</a></dt> 91 <dd></dd></dl> 92 93 <dl class="method"> 94 <dt id="sans.models.PowerLawModel.PowerLawModel.__init__"> 95 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__init__" title="Permalink to this definition">¶</a></dt> 96 <dd><p>Initialization</p> 97 </dd></dl> 98 99 <dl class="attribute"> 100 <dt id="sans.models.PowerLawModel.PowerLawModel.__module__"> 101 <tt class="descname">__module__</tt><em class="property"> = 'sans.models.PowerLawModel'</em><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__module__" title="Permalink to this definition">¶</a></dt> 102 <dd></dd></dl> 103 104 <dl class="method"> 105 <dt id="sans.models.PowerLawModel.PowerLawModel.__mul__"> 106 <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__mul__" title="Permalink to this definition">¶</a></dt> 107 <dd></dd></dl> 108 109 <dl class="method"> 110 <dt id="sans.models.PowerLawModel.PowerLawModel.__str__"> 111 <tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__str__" title="Permalink to this definition">¶</a></dt> 112 <dd><table class="docutils field-list" frame="void" rules="none"> 113 <col class="field-name" /> 114 <col class="field-body" /> 115 <tbody valign="top"> 116 <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 117 </tr> 118 </tbody> 119 </table> 120 </dd></dl> 121 122 <dl class="method"> 123 <dt id="sans.models.PowerLawModel.PowerLawModel.__sub__"> 124 <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.__sub__" title="Permalink to this definition">¶</a></dt> 125 <dd></dd></dl> 126 127 <dl class="method"> 128 <dt id="sans.models.PowerLawModel.PowerLawModel._clone"> 129 <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel._clone" title="Permalink to this definition">¶</a></dt> 130 <dd><p>Internal utility function to copy the internal 131 data members to a fresh copy.</p> 132 </dd></dl> 133 134 <dl class="method"> 75 135 <dt id="sans.models.PowerLawModel.PowerLawModel.calculate_ER"> 76 136 <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.calculate_ER" title="Permalink to this definition">¶</a></dt> … … 85 145 <dl class="method"> 86 146 <dt id="sans.models.PowerLawModel.PowerLawModel.evalDistribution"> 87 <tt class="descname">evalDistribution</tt><big>(</big>< em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.evalDistribution" title="Permalink to this definition">¶</a></dt>147 <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 88 148 <dd><p>Evaluate a distribution of q-values.</p> 89 149 <ul> … … 110 170 <col class="field-body" /> 111 171 <tbody valign="top"> 112 <tr class="field "><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering172 <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 113 173 is supported for python models, thus C-models should have</p> 114 174 <blockquote class="last"> … … 126 186 <col class="field-body" /> 127 187 <tbody valign="top"> 128 <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]188 <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] 129 189 where qx,qy are 1D ndarrays</td> 130 190 </tr> … … 141 201 <dl class="method"> 142 202 <dt id="sans.models.PowerLawModel.PowerLawModel.getParam"> 143 <tt class="descname">getParam</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParam" title="Permalink to this definition">¶</a></dt>203 <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParam" title="Permalink to this definition">¶</a></dt> 144 204 <dd><p>Set the value of a model parameter</p> 145 205 <table class="docutils field-list" frame="void" rules="none"> … … 147 207 <col class="field-body" /> 148 208 <tbody valign="top"> 149 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td>209 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> 150 210 </tr> 151 211 </tbody> … … 161 221 <dl class="method"> 162 222 <dt id="sans.models.PowerLawModel.PowerLawModel.getParamListWithToken"> 163 <tt class="descname">getParamListWithToken</tt><big>(</big>< em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>223 <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 164 224 <dd></dd></dl> 165 225 166 226 <dl class="method"> 167 227 <dt id="sans.models.PowerLawModel.PowerLawModel.getParamWithToken"> 168 <tt class="descname">getParamWithToken</tt><big>(</big>< em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>228 <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 169 229 <dd></dd></dl> 170 230 171 231 <dl class="method"> 172 232 <dt id="sans.models.PowerLawModel.PowerLawModel.is_fittable"> 173 <tt class="descname">is_fittable</tt><big>(</big>< em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.is_fittable" title="Permalink to this definition">¶</a></dt>233 <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.is_fittable" title="Permalink to this definition">¶</a></dt> 174 234 <dd><p>Check if a given parameter is fittable or not</p> 175 235 <table class="docutils field-list" frame="void" rules="none"> … … 177 237 <col class="field-body" /> 178 238 <tbody valign="top"> 179 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td>239 <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> 180 240 </tr> 181 241 </tbody> … … 185 245 <dl class="method"> 186 246 <dt id="sans.models.PowerLawModel.PowerLawModel.run"> 187 <tt class="descname">run</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.run" title="Permalink to this definition">¶</a></dt>247 <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.run" title="Permalink to this definition">¶</a></dt> 188 248 <dd><p>Evaluate the model 189 249 @param x: input q-value (float or [float, float] as [r, theta]) … … 193 253 <dl class="method"> 194 254 <dt id="sans.models.PowerLawModel.PowerLawModel.runXY"> 195 <tt class="descname">runXY</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.runXY" title="Permalink to this definition">¶</a></dt>255 <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.runXY" title="Permalink to this definition">¶</a></dt> 196 256 <dd><p>Evaluate the model 197 257 @param x: input q-value (float or [float, float] as [qx, qy]) … … 201 261 <dl class="method"> 202 262 <dt id="sans.models.PowerLawModel.PowerLawModel.setParam"> 203 <tt class="descname">setParam</tt><big>(</big>< em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.setParam" title="Permalink to this definition">¶</a></dt>263 <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.setParam" title="Permalink to this definition">¶</a></dt> 204 264 <dd><p>Set the value of a model parameter</p> 205 265 <table class="docutils field-list" frame="void" rules="none"> … … 207 267 <col class="field-body" /> 208 268 <tbody valign="top"> 209 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">269 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 210 270 <li><strong>name</strong> – name of the parameter</li> 211 271 <li><strong>value</strong> – value of the parameter</li> … … 219 279 <dl class="method"> 220 280 <dt id="sans.models.PowerLawModel.PowerLawModel.setParamWithToken"> 221 <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.PowerLawModel.PowerLawModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>281 <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.PowerLawModel.PowerLawModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 222 282 <dd></dd></dl> 223 283 … … 236 296 <ul> 237 297 <li><a class="reference internal" href="#">PowerLawModel</a><ul> 238 <li><a class="reference internal" href="# module-sans.models.PowerLawModel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a></li>298 <li><a class="reference internal" href="#sans-models-powerlawmodel"><tt class="docutils literal"><span class="pre">sans.models.PowerLawModel</span></tt></a></li> 239 299 </ul> 240 300 </li> … … 255 315 <h3>Quick search</h3> 256 316 <form class="search" action="../search.html" method="get"> 257 <input type="text" name="q" size="18"/>317 <input type="text" name="q" /> 258 318 <input type="submit" value="Go" /> 259 319 <input type="hidden" name="check_keywords" value="yes" /> … … 284 344 <a href="PowerLawAbsModel.html" title="PowerLawAbsModel" 285 345 >previous</a> |</li> 286 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>346 <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> 287 347 <li><a href="index.html" >Reference</a> »</li> 288 348 </ul> … … 290 350 <div class="footer"> 291 351 © Copyright 2010, sans group. 292 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.352 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 293 353 </div> 294 354 </body>
Note: See TracChangeset
for help on using the changeset viewer.