Changeset c0d873f in sasview for sansmodels/docs/sphinx/html/api/NoStructure.html
- Timestamp:
- Oct 24, 2011 12: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/NoStructure.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>NoStructure — sansmodels v0.1.0 documentation</title> 11 <title>NoStructure — 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="NullModel" href="NullModel.html" /> … … 44 47 <a href="NewCylinderModel.html" title="NewCylinderModel" 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="nostructure"> 57 60 <h1>NoStructure<a class="headerlink" href="#nostructure" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.models.NoStructure">59 < span id="sans-models-nostructure"></span><h2><a class="reference internal" href="#module-sans.models.NoStructure" title="sans.models.NoStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a><a class="headerlink" href="#module-sans.models.NoStructure" title="Permalink to this headline">¶</a></h2>60 < p>Provide sin(x) function as a BaseComponent model</p>61 <div class="section" id="sans-models-nostructure"> 62 <h2><a class="reference internal" href="#module-sans.models.NoStructure" title="sans.models.NoStructure"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a><a class="headerlink" href="#sans-models-nostructure" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.models.NoStructure"></span><p>Provide sin(x) function as a BaseComponent model</p> 61 64 <dl class="class"> 62 65 <dt id="sans.models.NoStructure.NoStructure"> … … 65 68 <p>Class that evaluates a sin(x) model.</p> 66 69 <dl class="method"> 70 <dt id="sans.models.NoStructure.NoStructure.__add__"> 71 <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__add__" title="Permalink to this definition">¶</a></dt> 72 <dd></dd></dl> 73 74 <dl class="method"> 75 <dt id="sans.models.NoStructure.NoStructure.__div__"> 76 <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__div__" title="Permalink to this definition">¶</a></dt> 77 <dd></dd></dl> 78 79 <dl class="method"> 80 <dt id="sans.models.NoStructure.NoStructure.__init__"> 81 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__init__" title="Permalink to this definition">¶</a></dt> 82 <dd><p>Initialization</p> 83 </dd></dl> 84 85 <dl class="attribute"> 86 <dt id="sans.models.NoStructure.NoStructure.__module__"> 87 <tt class="descname">__module__</tt><em class="property"> = 'sans.models.NoStructure'</em><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__module__" title="Permalink to this definition">¶</a></dt> 88 <dd></dd></dl> 89 90 <dl class="method"> 91 <dt id="sans.models.NoStructure.NoStructure.__mul__"> 92 <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__mul__" title="Permalink to this definition">¶</a></dt> 93 <dd></dd></dl> 94 95 <dl class="method"> 96 <dt id="sans.models.NoStructure.NoStructure.__str__"> 97 <tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__str__" title="Permalink to this definition">¶</a></dt> 98 <dd><table class="docutils field-list" frame="void" rules="none"> 99 <col class="field-name" /> 100 <col class="field-body" /> 101 <tbody valign="top"> 102 <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">string representatio</td> 103 </tr> 104 </tbody> 105 </table> 106 </dd></dl> 107 108 <dl class="method"> 109 <dt id="sans.models.NoStructure.NoStructure.__sub__"> 110 <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.__sub__" title="Permalink to this definition">¶</a></dt> 111 <dd></dd></dl> 112 113 <dl class="method"> 114 <dt id="sans.models.NoStructure.NoStructure._clone"> 115 <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure._clone" title="Permalink to this definition">¶</a></dt> 116 <dd><p>Internal utility function to copy the internal 117 data members to a fresh copy.</p> 118 </dd></dl> 119 120 <dl class="method"> 67 121 <dt id="sans.models.NoStructure.NoStructure.calculate_ER"> 68 122 <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.calculate_ER" title="Permalink to this definition">¶</a></dt> … … 77 131 <dl class="method"> 78 132 <dt id="sans.models.NoStructure.NoStructure.evalDistribution"> 79 <tt class="descname">evalDistribution</tt><big>(</big>< em>qdist</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.evalDistribution" title="Permalink to this definition">¶</a></dt>133 <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.evalDistribution" title="Permalink to this definition">¶</a></dt> 80 134 <dd><p>Evaluate a distribution of q-values.</p> 81 135 <ul> … … 102 156 <col class="field-body" /> 103 157 <tbody valign="top"> 104 <tr class="field "><th class="field-name">Note :</th><td class="field-body"><p class="first">Due to 2D speed issue, no anisotropic scattering158 <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 105 159 is supported for python models, thus C-models should have</p> 106 160 <blockquote class="last"> … … 118 172 <col class="field-body" /> 119 173 <tbody valign="top"> 120 <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]174 <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] 121 175 where qx,qy are 1D ndarrays</td> 122 176 </tr> … … 133 187 <dl class="method"> 134 188 <dt id="sans.models.NoStructure.NoStructure.getParam"> 135 <tt class="descname">getParam</tt><big>(</big>< em>name</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParam" title="Permalink to this definition">¶</a></dt>189 <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParam" title="Permalink to this definition">¶</a></dt> 136 190 <dd><p>Set the value of a model parameter</p> 137 191 <table class="docutils field-list" frame="void" rules="none"> … … 139 193 <col class="field-body" /> 140 194 <tbody valign="top"> 141 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td>195 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> 142 196 </tr> 143 197 </tbody> … … 153 207 <dl class="method"> 154 208 <dt id="sans.models.NoStructure.NoStructure.getParamListWithToken"> 155 <tt class="descname">getParamListWithToken</tt><big>(</big>< em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamListWithToken" title="Permalink to this definition">¶</a></dt>209 <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamListWithToken" title="Permalink to this definition">¶</a></dt> 156 210 <dd></dd></dl> 157 211 158 212 <dl class="method"> 159 213 <dt id="sans.models.NoStructure.NoStructure.getParamWithToken"> 160 <tt class="descname">getParamWithToken</tt><big>(</big>< em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamWithToken" title="Permalink to this definition">¶</a></dt>214 <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.getParamWithToken" title="Permalink to this definition">¶</a></dt> 161 215 <dd></dd></dl> 162 216 163 217 <dl class="method"> 164 218 <dt id="sans.models.NoStructure.NoStructure.is_fittable"> 165 <tt class="descname">is_fittable</tt><big>(</big>< em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.is_fittable" title="Permalink to this definition">¶</a></dt>219 <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.is_fittable" title="Permalink to this definition">¶</a></dt> 166 220 <dd><p>Check if a given parameter is fittable or not</p> 167 221 <table class="docutils field-list" frame="void" rules="none"> … … 169 223 <col class="field-body" /> 170 224 <tbody valign="top"> 171 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> – the parameter name to check</td>225 <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> 172 226 </tr> 173 227 </tbody> … … 177 231 <dl class="method"> 178 232 <dt id="sans.models.NoStructure.NoStructure.run"> 179 <tt class="descname">run</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.run" title="Permalink to this definition">¶</a></dt>233 <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.run" title="Permalink to this definition">¶</a></dt> 180 234 <dd><p>Evaluate the model 181 235 @param x: input x … … 185 239 <dl class="method"> 186 240 <dt id="sans.models.NoStructure.NoStructure.runXY"> 187 <tt class="descname">runXY</tt><big>(</big>< em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.runXY" title="Permalink to this definition">¶</a></dt>241 <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.runXY" title="Permalink to this definition">¶</a></dt> 188 242 <dd><p>Evaluate the model 189 243 @param x: input x, or [x, y] [radian] … … 193 247 <dl class="method"> 194 248 <dt id="sans.models.NoStructure.NoStructure.setParam"> 195 <tt class="descname">setParam</tt><big>(</big>< em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.setParam" title="Permalink to this definition">¶</a></dt>249 <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.setParam" title="Permalink to this definition">¶</a></dt> 196 250 <dd><p>Set the value of a model parameter</p> 197 251 <table class="docutils field-list" frame="void" rules="none"> … … 199 253 <col class="field-body" /> 200 254 <tbody valign="top"> 201 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">255 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 202 256 <li><strong>name</strong> – name of the parameter</li> 203 257 <li><strong>value</strong> – value of the parameter</li> … … 211 265 <dl class="method"> 212 266 <dt id="sans.models.NoStructure.NoStructure.setParamWithToken"> 213 <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.NoStructure.NoStructure.setParamWithToken" title="Permalink to this definition">¶</a></dt>267 <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.NoStructure.NoStructure.setParamWithToken" title="Permalink to this definition">¶</a></dt> 214 268 <dd></dd></dl> 215 269 … … 228 282 <ul> 229 283 <li><a class="reference internal" href="#">NoStructure</a><ul> 230 <li><a class="reference internal" href="# module-sans.models.NoStructure"><tt class="docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a></li>284 <li><a class="reference internal" href="#sans-models-nostructure"><tt class="docutils literal"><span class="pre">sans.models.NoStructure</span></tt></a></li> 231 285 </ul> 232 286 </li> … … 247 301 <h3>Quick search</h3> 248 302 <form class="search" action="../search.html" method="get"> 249 <input type="text" name="q" size="18"/>303 <input type="text" name="q" /> 250 304 <input type="submit" value="Go" /> 251 305 <input type="hidden" name="check_keywords" value="yes" /> … … 276 330 <a href="NewCylinderModel.html" title="NewCylinderModel" 277 331 >previous</a> |</li> 278 <li><a href="../index.html">sansmodels v0.1.0 documentation</a> »</li>332 <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> 279 333 <li><a href="index.html" >Reference</a> »</li> 280 334 </ul> … … 282 336 <div class="footer"> 283 337 © Copyright 2010, sans group. 284 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.338 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 285 339 </div> 286 340 </body>
Note: See TracChangeset
for help on using the changeset viewer.