Changeset c0d873f in sasview for sansmodels/docs/sphinx/html/api/FractalCoreShellModel.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/FractalCoreShellModel.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>FractalCoreShellModel — sansmodels v0.1.0 documentation</title> 11 <title>FractalCoreShellModel — 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="FractalModel" href="FractalModel.html" /> … … 44 47 <a href="FractalAbsModel.html" title="FractalAbsModel" 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="fractalcoreshellmodel"> 57 60 <h1>FractalCoreShellModel<a class="headerlink" href="#fractalcoreshellmodel" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.models.FractalCoreShellModel">59 < span id="sans-models-fractalcoreshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.FractalCoreShellModel" title="sans.models.FractalCoreShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.FractalCoreShellModel" title="Permalink to this headline">¶</a></h2>60 < dl class="class">61 <div class="section" id="sans-models-fractalcoreshellmodel"> 62 <h2><a class="reference internal" href="#module-sans.models.FractalCoreShellModel" title="sans.models.FractalCoreShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a><a class="headerlink" href="#sans-models-fractalcoreshellmodel" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.models.FractalCoreShellModel"></span><dl class="class"> 61 64 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel"> 62 65 <em class="property">class </em><tt class="descclassname">sans.models.FractalCoreShellModel.</tt><tt class="descname">FractalCoreShellModel</tt><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel" title="Permalink to this definition">¶</a></dt> … … 74 77 background = 0.0 [1/cm]</p> 75 78 <dl class="method"> 79 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__add__"> 80 <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__add__" title="Permalink to this definition">¶</a></dt> 81 <dd></dd></dl> 82 83 <dl class="method"> 84 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__div__"> 85 <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__div__" title="Permalink to this definition">¶</a></dt> 86 <dd></dd></dl> 87 88 <dl class="method"> 89 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__init__"> 90 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__init__" title="Permalink to this definition">¶</a></dt> 91 <dd></dd></dl> 92 93 <dl class="attribute"> 94 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__module__"> 95 <tt class="descname">__module__</tt><em class="property"> = 'sans.models.FractalCoreShellModel'</em><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__module__" title="Permalink to this definition">¶</a></dt> 96 <dd></dd></dl> 97 98 <dl class="method"> 99 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__mul__"> 100 <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__mul__" title="Permalink to this definition">¶</a></dt> 101 <dd></dd></dl> 102 103 <dl class="method"> 104 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__str__"> 105 <tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__str__" title="Permalink to this definition">¶</a></dt> 106 <dd><table class="docutils field-list" frame="void" rules="none"> 107 <col class="field-name" /> 108 <col class="field-body" /> 109 <tbody valign="top"> 110 <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 111 </tr> 112 </tbody> 113 </table> 114 </dd></dl> 115 116 <dl class="method"> 117 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.__sub__"> 118 <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.__sub__" title="Permalink to this definition">¶</a></dt> 119 <dd></dd></dl> 120 121 <dl class="method"> 122 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._clone"> 123 <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._clone" title="Permalink to this definition">¶</a></dt> 124 <dd><p>Internal utility function to copy the internal 125 data members to a fresh copy.</p> 126 </dd></dl> 127 128 <dl class="method"> 129 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._fractalcore"> 130 <tt class="descname">_fractalcore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._fractalcore" title="Permalink to this definition">¶</a></dt> 131 <dd><p>Define model function</p> 132 <p>return S(q): Fractal Structure</p> 133 </dd></dl> 134 135 <dl class="method"> 136 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._setParamHelper"> 137 <tt class="descname">_setParamHelper</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._setParamHelper" title="Permalink to this definition">¶</a></dt> 138 <dd><p>Helper function to setParam</p> 139 </dd></dl> 140 141 <dl class="method"> 142 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._set_details"> 143 <tt class="descname">_set_details</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._set_details" title="Permalink to this definition">¶</a></dt> 144 <dd><p>Concatenate details of the original model to create 145 this model details</p> 146 </dd></dl> 147 148 <dl class="method"> 149 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._set_dispersion"> 150 <tt class="descname">_set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._set_dispersion" title="Permalink to this definition">¶</a></dt> 151 <dd><p>model dispersions</p> 152 </dd></dl> 153 154 <dl class="method"> 155 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel._set_params"> 156 <tt class="descname">_set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel._set_params" title="Permalink to this definition">¶</a></dt> 157 <dd><p>Concatenate the parameters of the model to create 158 this model parameters</p> 159 </dd></dl> 160 161 <dl class="method"> 76 162 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.calculate_ER"> 77 163 <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.calculate_ER" title="Permalink to this definition">¶</a></dt> … … 86 172 <dl class="method"> 87 173 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.evalDistribution"> 88 <tt class="descname">evalDistribution</tt><big>(</big>< em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.evalDistribution" title="Permalink to this definition">¶</a></dt>174 <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.evalDistribution" title="Permalink to this definition">¶</a></dt> 89 175 <dd><p>Evaluate a distribution of q-values.</p> 90 176 <ul> … … 111 197 <col class="field-body" /> 112 198 <tbody valign="top"> 113 <tr class="field "><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering199 <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 114 200 is supported for python models, thus C-models should have</p> 115 201 <blockquote class="last"> … … 127 213 <col class="field-body" /> 128 214 <tbody valign="top"> 129 <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]215 <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] 130 216 where qx,qy are 1D ndarrays</td> 131 217 </tr> … … 142 228 <dl class="method"> 143 229 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParam"> 144 <tt class="descname">getParam</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParam" title="Permalink to this definition">¶</a></dt>230 <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParam" title="Permalink to this definition">¶</a></dt> 145 231 <dd><p>Set the value of a model parameter</p> 146 232 <table class="docutils field-list" frame="void" rules="none"> … … 148 234 <col class="field-body" /> 149 235 <tbody valign="top"> 150 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td>236 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> 151 237 </tr> 152 238 </tbody> … … 162 248 <dl class="method"> 163 249 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamListWithToken"> 164 <tt class="descname">getParamListWithToken</tt><big>(</big>< em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>250 <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 165 251 <dd></dd></dl> 166 252 167 253 <dl class="method"> 168 254 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamWithToken"> 169 <tt class="descname">getParamWithToken</tt><big>(</big>< em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>255 <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> 170 256 <dd></dd></dl> 171 257 172 258 <dl class="method"> 173 259 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.is_fittable"> 174 <tt class="descname">is_fittable</tt><big>(</big>< em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.is_fittable" title="Permalink to this definition">¶</a></dt>260 <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.is_fittable" title="Permalink to this definition">¶</a></dt> 175 261 <dd><p>Check if a given parameter is fittable or not</p> 176 262 <table class="docutils field-list" frame="void" rules="none"> … … 178 264 <col class="field-body" /> 179 265 <tbody valign="top"> 180 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td>266 <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> 181 267 </tr> 182 268 </tbody> … … 186 272 <dl class="method"> 187 273 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.run"> 188 <tt class="descname">run</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.run" title="Permalink to this definition">¶</a></dt>274 <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.run" title="Permalink to this definition">¶</a></dt> 189 275 <dd><p>Evaluate the model</p> 190 276 <p>: param x: input q-value (float or [float, float] as [r, theta]) … … 194 280 <dl class="method"> 195 281 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.runXY"> 196 <tt class="descname">runXY</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.runXY" title="Permalink to this definition">¶</a></dt>282 <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.runXY" title="Permalink to this definition">¶</a></dt> 197 283 <dd><p>Evaluate the model</p> 198 284 <p>: param x: input q-value (float or [float, float] as [qx, qy]) … … 202 288 <dl class="method"> 203 289 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.setParam"> 204 <tt class="descname">setParam</tt><big>(</big>< em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.setParam" title="Permalink to this definition">¶</a></dt>290 <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.setParam" title="Permalink to this definition">¶</a></dt> 205 291 <dd><p>Set the value of a model parameter</p> 206 292 <p>: param name: name of the parameter … … 210 296 <dl class="method"> 211 297 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.setParamWithToken"> 212 <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.FractalCoreShellModel.FractalCoreShellModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>298 <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> 213 299 <dd></dd></dl> 214 300 215 301 <dl class="method"> 216 302 <dt id="sans.models.FractalCoreShellModel.FractalCoreShellModel.set_dispersion"> 217 <tt class="descname">set_dispersion</tt><big>(</big>< em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.set_dispersion" title="Permalink to this definition">¶</a></dt>303 <tt class="descname">set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.FractalCoreShellModel.FractalCoreShellModel.set_dispersion" title="Permalink to this definition">¶</a></dt> 218 304 <dd><p>Set the dispersion object for a model parameter</p> 219 305 <p>: param parameter: name of the parameter [string] … … 235 321 <ul> 236 322 <li><a class="reference internal" href="#">FractalCoreShellModel</a><ul> 237 <li><a class="reference internal" href="# module-sans.models.FractalCoreShellModel"><tt class="docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a></li>323 <li><a class="reference internal" href="#sans-models-fractalcoreshellmodel"><tt class="docutils literal"><span class="pre">sans.models.FractalCoreShellModel</span></tt></a></li> 238 324 </ul> 239 325 </li> … … 254 340 <h3>Quick search</h3> 255 341 <form class="search" action="../search.html" method="get"> 256 <input type="text" name="q" size="18"/>342 <input type="text" name="q" /> 257 343 <input type="submit" value="Go" /> 258 344 <input type="hidden" name="check_keywords" value="yes" /> … … 283 369 <a href="FractalAbsModel.html" title="FractalAbsModel" 284 370 >previous</a> |</li> 285 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>371 <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> 286 372 <li><a href="index.html" >Reference</a> »</li> 287 373 </ul> … … 289 375 <div class="footer"> 290 376 © Copyright 2010, sans group. 291 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.377 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 292 378 </div> 293 379 </body>
Note: See TracChangeset
for help on using the changeset viewer.