Changeset c0d873f in sasview for sansmodels/docs/sphinx/html/api/GaussLorentzGelModel.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/GaussLorentzGelModel.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>GaussLorentzGelModel — sansmodels v0.1.0 documentation</title> 11 <title>GaussLorentzGelModel — 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="GuinierModel" href="GuinierModel.html" /> … … 44 47 <a href="Gaussian.html" title="Gaussian" 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="gausslorentzgelmodel"> 57 60 <h1>GaussLorentzGelModel<a class="headerlink" href="#gausslorentzgelmodel" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.models.GaussLorentzGelModel">59 < span id="sans-models-gausslorentzgelmodel"></span><h2><a class="reference internal" href="#module-sans.models.GaussLorentzGelModel" title="sans.models.GaussLorentzGelModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a><a class="headerlink" href="#module-sans.models.GaussLorentzGelModel" title="Permalink to this headline">¶</a></h2>60 < p>Provide I(q) = I_0 exp ( - R_g^2 q^2 / 3.0)61 <div class="section" id="sans-models-gausslorentzgelmodel"> 62 <h2><a class="reference internal" href="#module-sans.models.GaussLorentzGelModel" title="sans.models.GaussLorentzGelModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a><a class="headerlink" href="#sans-models-gausslorentzgelmodel" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.models.GaussLorentzGelModel"></span><p>Provide I(q) = I_0 exp ( - R_g^2 q^2 / 3.0) 61 64 GaussLorentzGel function as a BaseComponent model</p> 62 65 <dl class="class"> … … 79 82 </dl> 80 83 <dl class="method"> 84 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__add__"> 85 <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__add__" title="Permalink to this definition">¶</a></dt> 86 <dd></dd></dl> 87 88 <dl class="method"> 89 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__div__"> 90 <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__div__" title="Permalink to this definition">¶</a></dt> 91 <dd></dd></dl> 92 93 <dl class="method"> 94 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__init__"> 95 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__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.GaussLorentzGelModel.GaussLorentzGelModel.__module__"> 101 <tt class="descname">__module__</tt><em class="property"> = 'sans.models.GaussLorentzGelModel'</em><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__module__" title="Permalink to this definition">¶</a></dt> 102 <dd></dd></dl> 103 104 <dl class="method"> 105 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__mul__"> 106 <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__mul__" title="Permalink to this definition">¶</a></dt> 107 <dd></dd></dl> 108 109 <dl class="method"> 110 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__str__"> 111 <tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__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.GaussLorentzGelModel.GaussLorentzGelModel.__sub__"> 124 <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.__sub__" title="Permalink to this definition">¶</a></dt> 125 <dd></dd></dl> 126 127 <dl class="method"> 128 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel._clone"> 129 <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel._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"> 135 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel._gausslorentzgel"> 136 <tt class="descname">_gausslorentzgel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel._gausslorentzgel" title="Permalink to this definition">¶</a></dt> 137 <dd><p>Model definition</p> 138 </dd></dl> 139 140 <dl class="method"> 81 141 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.calculate_ER"> 82 142 <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.calculate_ER" title="Permalink to this definition">¶</a></dt> … … 91 151 <dl class="method"> 92 152 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.evalDistribution"> 93 <tt class="descname">evalDistribution</tt><big>(</big>< em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.evalDistribution" title="Permalink to this definition">¶</a></dt>153 <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 94 154 <dd><p>Evaluate a distribution of q-values.</p> 95 155 <ul> … … 116 176 <col class="field-body" /> 117 177 <tbody valign="top"> 118 <tr class="field "><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering178 <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 119 179 is supported for python models, thus C-models should have</p> 120 180 <blockquote class="last"> … … 132 192 <col class="field-body" /> 133 193 <tbody valign="top"> 134 <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]194 <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] 135 195 where qx,qy are 1D ndarrays</td> 136 196 </tr> … … 147 207 <dl class="method"> 148 208 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParam"> 149 <tt class="descname">getParam</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParam" title="Permalink to this definition">¶</a></dt>209 <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParam" title="Permalink to this definition">¶</a></dt> 150 210 <dd><p>Set the value of a model parameter</p> 151 211 <table class="docutils field-list" frame="void" rules="none"> … … 153 213 <col class="field-body" /> 154 214 <tbody valign="top"> 155 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td>215 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> 156 216 </tr> 157 217 </tbody> … … 167 227 <dl class="method"> 168 228 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamListWithToken"> 169 <tt class="descname">getParamListWithToken</tt><big>(</big>< em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>229 <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 170 230 <dd></dd></dl> 171 231 172 232 <dl class="method"> 173 233 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamWithToken"> 174 <tt class="descname">getParamWithToken</tt><big>(</big>< em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>234 <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 175 235 <dd></dd></dl> 176 236 177 237 <dl class="method"> 178 238 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.is_fittable"> 179 <tt class="descname">is_fittable</tt><big>(</big>< em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.is_fittable" title="Permalink to this definition">¶</a></dt>239 <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.is_fittable" title="Permalink to this definition">¶</a></dt> 180 240 <dd><p>Check if a given parameter is fittable or not</p> 181 241 <table class="docutils field-list" frame="void" rules="none"> … … 183 243 <col class="field-body" /> 184 244 <tbody valign="top"> 185 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td>245 <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> 186 246 </tr> 187 247 </tbody> … … 191 251 <dl class="method"> 192 252 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.run"> 193 <tt class="descname">run</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.run" title="Permalink to this definition">¶</a></dt>253 <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.run" title="Permalink to this definition">¶</a></dt> 194 254 <dd><p>Evaluate the model 195 255 @param x: input q-value (float or [float, float] as [r, theta]) … … 199 259 <dl class="method"> 200 260 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.runXY"> 201 <tt class="descname">runXY</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.runXY" title="Permalink to this definition">¶</a></dt>261 <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.runXY" title="Permalink to this definition">¶</a></dt> 202 262 <dd><p>Evaluate the model 203 263 @param x: input q-value (float or [float, float] as [qx, qy]) … … 207 267 <dl class="method"> 208 268 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParam"> 209 <tt class="descname">setParam</tt><big>(</big>< em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParam" title="Permalink to this definition">¶</a></dt>269 <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParam" title="Permalink to this definition">¶</a></dt> 210 270 <dd><p>Set the value of a model parameter</p> 211 271 <table class="docutils field-list" frame="void" rules="none"> … … 213 273 <col class="field-body" /> 214 274 <tbody valign="top"> 215 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">275 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 216 276 <li><strong>name</strong> – name of the parameter</li> 217 277 <li><strong>value</strong> – value of the parameter</li> … … 225 285 <dl class="method"> 226 286 <dt id="sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParamWithToken"> 227 <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.GaussLorentzGelModel.GaussLorentzGelModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>287 <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.GaussLorentzGelModel.GaussLorentzGelModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 228 288 <dd></dd></dl> 229 289 … … 242 302 <ul> 243 303 <li><a class="reference internal" href="#">GaussLorentzGelModel</a><ul> 244 <li><a class="reference internal" href="# module-sans.models.GaussLorentzGelModel"><tt class="docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a></li>304 <li><a class="reference internal" href="#sans-models-gausslorentzgelmodel"><tt class="docutils literal"><span class="pre">sans.models.GaussLorentzGelModel</span></tt></a></li> 245 305 </ul> 246 306 </li> … … 261 321 <h3>Quick search</h3> 262 322 <form class="search" action="../search.html" method="get"> 263 <input type="text" name="q" size="18"/>323 <input type="text" name="q" /> 264 324 <input type="submit" value="Go" /> 265 325 <input type="hidden" name="check_keywords" value="yes" /> … … 290 350 <a href="Gaussian.html" title="Gaussian" 291 351 >previous</a> |</li> 292 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>352 <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> 293 353 <li><a href="index.html" >Reference</a> »</li> 294 354 </ul> … … 296 356 <div class="footer"> 297 357 © Copyright 2010, sans group. 298 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.358 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 299 359 </div> 300 360 </body>
Note: See TracChangeset
for help on using the changeset viewer.