[512573a] | 1 | |
---|
| 2 | |
---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 5 | |
---|
[c0d873f] | 6 | |
---|
[512573a] | 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 8 | <head> |
---|
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 10 | |
---|
[c0d873f] | 11 | <title>ReflModel — sansmodels 0.1.0 documentation</title> |
---|
| 12 | |
---|
[512573a] | 13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
[c0d873f] | 15 | |
---|
[512573a] | 16 | <script type="text/javascript"> |
---|
| 17 | var DOCUMENTATION_OPTIONS = { |
---|
| 18 | URL_ROOT: '../', |
---|
| 19 | VERSION: '0.1.0', |
---|
| 20 | COLLAPSE_INDEX: false, |
---|
| 21 | FILE_SUFFIX: '.html', |
---|
| 22 | HAS_SOURCE: true |
---|
| 23 | }; |
---|
| 24 | </script> |
---|
| 25 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
| 26 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
| 27 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
[c0d873f] | 28 | <link rel="top" title="sansmodels 0.1.0 documentation" href="../index.html" /> |
---|
[512573a] | 29 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 30 | <link rel="next" title="RPA10Model" href="RPA10Model.html" /> |
---|
| 31 | <link rel="prev" title="ReflectivityModel" href="ReflectivityModel.html" /> |
---|
| 32 | </head> |
---|
| 33 | <body> |
---|
| 34 | <div class="related"> |
---|
| 35 | <h3>Navigation</h3> |
---|
| 36 | <ul> |
---|
| 37 | <li class="right" style="margin-right: 10px"> |
---|
| 38 | <a href="../genindex.html" title="General Index" |
---|
| 39 | accesskey="I">index</a></li> |
---|
| 40 | <li class="right" > |
---|
| 41 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 42 | >modules</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="RPA10Model.html" title="RPA10Model" |
---|
| 45 | accesskey="N">next</a> |</li> |
---|
| 46 | <li class="right" > |
---|
| 47 | <a href="ReflectivityModel.html" title="ReflectivityModel" |
---|
| 48 | accesskey="P">previous</a> |</li> |
---|
[c0d873f] | 49 | <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> |
---|
[512573a] | 50 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
| 51 | </ul> |
---|
| 52 | </div> |
---|
| 53 | |
---|
| 54 | <div class="document"> |
---|
| 55 | <div class="documentwrapper"> |
---|
| 56 | <div class="bodywrapper"> |
---|
| 57 | <div class="body"> |
---|
| 58 | |
---|
| 59 | <div class="section" id="reflmodel"> |
---|
| 60 | <h1>ReflModel<a class="headerlink" href="#reflmodel" title="Permalink to this headline">¶</a></h1> |
---|
[c0d873f] | 61 | <div class="section" id="sans-models-reflmodel"> |
---|
| 62 | <h2><a class="reference internal" href="#module-sans.models.ReflModel" title="sans.models.ReflModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.ReflModel</span></tt></a><a class="headerlink" href="#sans-models-reflmodel" title="Permalink to this headline">¶</a></h2> |
---|
| 63 | <span class="target" id="module-sans.models.ReflModel"></span><p>Provide functionality for a C extension model</p> |
---|
[512573a] | 64 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 65 | <col class="field-name" /> |
---|
| 66 | <col class="field-body" /> |
---|
| 67 | <tbody valign="top"> |
---|
[c0d873f] | 68 | <tr class="field-odd field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY |
---|
[512573a] | 69 | DO NOT MODIFY THIS FILE, MODIFY ..c_extensions</td> |
---|
| 70 | </tr> |
---|
| 71 | </tbody> |
---|
| 72 | </table> |
---|
| 73 | <dl class="docutils"> |
---|
| 74 | <dt>efl.h</dt> |
---|
| 75 | <dd>AND RE-RUN THE GENERATOR SCRIPT</dd> |
---|
| 76 | </dl> |
---|
| 77 | <dl class="class"> |
---|
| 78 | <dt id="sans.models.ReflModel.ReflModel"> |
---|
| 79 | <em class="property">class </em><tt class="descclassname">sans.models.ReflModel.</tt><tt class="descname">ReflModel</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel" title="Permalink to this definition">¶</a></dt> |
---|
| 80 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CReflModel</span></tt>, <a class="reference internal" href="BaseComponent.html#sans.models.BaseComponent.BaseComponent" title="sans.models.BaseComponent.BaseComponent"><tt class="xref py py-class docutils literal"><span class="pre">sans.models.BaseComponent.BaseComponent</span></tt></a></p> |
---|
| 81 | <blockquote> |
---|
| 82 | <div>Class that evaluates a ReflModel model. |
---|
| 83 | This file was auto-generated from ..c_extensions</div></blockquote> |
---|
| 84 | <dl class="docutils"> |
---|
| 85 | <dt>efl.h.</dt> |
---|
| 86 | <dd><p class="first">Refer to that file and the structure it contains |
---|
| 87 | for details of the model. |
---|
| 88 | List of default parameters:</p> |
---|
| 89 | <blockquote class="last"> |
---|
| 90 | <div>n_layers = 1.0 |
---|
| 91 | scale = 1.0 |
---|
| 92 | thick_inter0 = 1.0 [A] |
---|
| 93 | func_inter0 = 0.0 |
---|
| 94 | sld_bottom0 = 2.07e-06 [1/A^(2)] |
---|
| 95 | sld_medium = 1e-06 [1/A^(2)] |
---|
| 96 | background = 0.0 |
---|
| 97 | sld_flat1 = 4e-06 [1/A^(2)] |
---|
| 98 | sld_flat2 = 3.5e-06 [1/A^(2)] |
---|
| 99 | sld_flat3 = 4e-06 [1/A^(2)] |
---|
| 100 | sld_flat4 = 3.5e-06 [1/A^(2)] |
---|
| 101 | sld_flat5 = 4e-06 [1/A^(2)] |
---|
| 102 | sld_flat6 = 3.5e-06 [1/A^(2)] |
---|
| 103 | sld_flat7 = 4e-06 [1/A^(2)] |
---|
| 104 | sld_flat8 = 3.5e-06 [1/A^(2)] |
---|
| 105 | sld_flat9 = 4e-06 [1/A^(2)] |
---|
| 106 | sld_flat10 = 3.5e-06 [1/A^(2)] |
---|
| 107 | thick_inter1 = 1.0 [A] |
---|
| 108 | thick_inter2 = 1.0 [A] |
---|
| 109 | thick_inter3 = 1.0 [A] |
---|
| 110 | thick_inter4 = 1.0 [A] |
---|
| 111 | thick_inter5 = 1.0 [A] |
---|
| 112 | thick_inter6 = 1.0 [A] |
---|
| 113 | thick_inter7 = 1.0 [A] |
---|
| 114 | thick_inter8 = 1.0 [A] |
---|
| 115 | thick_inter9 = 1.0 [A] |
---|
| 116 | thick_inter10 = 1.0 [A] |
---|
| 117 | thick_flat1 = 10.0 [A] |
---|
| 118 | thick_flat2 = 100.0 [A] |
---|
| 119 | thick_flat3 = 100.0 [A] |
---|
| 120 | thick_flat4 = 100.0 [A] |
---|
| 121 | thick_flat5 = 100.0 [A] |
---|
| 122 | thick_flat6 = 100.0 [A] |
---|
| 123 | thick_flat7 = 100.0 [A] |
---|
| 124 | thick_flat8 = 100.0 [A] |
---|
| 125 | thick_flat9 = 100.0 [A] |
---|
| 126 | thick_flat10 = 100.0 [A] |
---|
| 127 | func_inter1 = 0.0 |
---|
| 128 | func_inter2 = 0.0 |
---|
| 129 | func_inter3 = 0.0 |
---|
| 130 | func_inter4 = 0.0 |
---|
| 131 | func_inter5 = 0.0 |
---|
| 132 | func_inter6 = 0.0 |
---|
| 133 | func_inter7 = 0.0 |
---|
| 134 | func_inter8 = 0.0 |
---|
| 135 | func_inter9 = 0.0 |
---|
| 136 | func_inter10 = 0.0</div></blockquote> |
---|
| 137 | </dd> |
---|
| 138 | </dl> |
---|
| 139 | <dl class="method"> |
---|
[c0d873f] | 140 | <dt id="sans.models.ReflModel.ReflModel.__add__"> |
---|
| 141 | <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__add__" title="Permalink to this definition">¶</a></dt> |
---|
| 142 | <dd></dd></dl> |
---|
| 143 | |
---|
| 144 | <dl class="attribute"> |
---|
| 145 | <dt id="sans.models.ReflModel.ReflModel.__class__"> |
---|
| 146 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 147 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
| 148 | </dd></dl> |
---|
| 149 | |
---|
| 150 | <dl class="attribute"> |
---|
| 151 | <dt id="sans.models.ReflModel.ReflModel.__delattr__"> |
---|
| 152 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 153 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
| 154 | </dd></dl> |
---|
| 155 | |
---|
| 156 | <dl class="attribute"> |
---|
| 157 | <dt id="sans.models.ReflModel.ReflModel.__dict__"> |
---|
| 158 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x028DE110></em><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 159 | <dd></dd></dl> |
---|
| 160 | |
---|
| 161 | <dl class="method"> |
---|
| 162 | <dt id="sans.models.ReflModel.ReflModel.__div__"> |
---|
| 163 | <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__div__" title="Permalink to this definition">¶</a></dt> |
---|
| 164 | <dd></dd></dl> |
---|
| 165 | |
---|
| 166 | <dl class="attribute"> |
---|
| 167 | <dt id="sans.models.ReflModel.ReflModel.__getattribute__"> |
---|
| 168 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 169 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
| 170 | </dd></dl> |
---|
| 171 | |
---|
| 172 | <dl class="attribute"> |
---|
| 173 | <dt id="sans.models.ReflModel.ReflModel.__hash__"> |
---|
| 174 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 175 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 176 | </dd></dl> |
---|
| 177 | |
---|
| 178 | <dl class="method"> |
---|
| 179 | <dt id="sans.models.ReflModel.ReflModel.__init__"> |
---|
| 180 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 181 | <dd><p>Initialization</p> |
---|
| 182 | </dd></dl> |
---|
| 183 | |
---|
| 184 | <dl class="attribute"> |
---|
| 185 | <dt id="sans.models.ReflModel.ReflModel.__module__"> |
---|
| 186 | <tt class="descname">__module__</tt><em class="property"> = 'sans.models.ReflModel'</em><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 187 | <dd></dd></dl> |
---|
| 188 | |
---|
| 189 | <dl class="method"> |
---|
| 190 | <dt id="sans.models.ReflModel.ReflModel.__mul__"> |
---|
| 191 | <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__mul__" title="Permalink to this definition">¶</a></dt> |
---|
| 192 | <dd></dd></dl> |
---|
| 193 | |
---|
| 194 | <dl class="staticmethod"> |
---|
| 195 | <dt id="sans.models.ReflModel.ReflModel.__new__"> |
---|
| 196 | <em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#sans.models.ReflModel.ReflModel.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 197 | <dd></dd></dl> |
---|
| 198 | |
---|
| 199 | <dl class="method"> |
---|
| 200 | <dt id="sans.models.ReflModel.ReflModel.__reduce__"> |
---|
| 201 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 202 | <dd><p>helper for pickle</p> |
---|
| 203 | </dd></dl> |
---|
| 204 | |
---|
| 205 | <dl class="method"> |
---|
| 206 | <dt id="sans.models.ReflModel.ReflModel.__reduce_ex__"> |
---|
| 207 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 208 | <dd><p>Overwrite the __reduce_ex__ of PyTypeObject <a href="#id1"><span class="problematic" id="id2">*</span></a>type call in the init of |
---|
| 209 | c model.</p> |
---|
| 210 | </dd></dl> |
---|
| 211 | |
---|
| 212 | <dl class="attribute"> |
---|
| 213 | <dt id="sans.models.ReflModel.ReflModel.__repr__"> |
---|
| 214 | <tt class="descname">__repr__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 215 | <dd><p>x.__repr__() <==> repr(x)</p> |
---|
| 216 | </dd></dl> |
---|
| 217 | |
---|
| 218 | <dl class="attribute"> |
---|
| 219 | <dt id="sans.models.ReflModel.ReflModel.__setattr__"> |
---|
| 220 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 221 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 222 | </dd></dl> |
---|
| 223 | |
---|
| 224 | <dl class="method"> |
---|
| 225 | <dt id="sans.models.ReflModel.ReflModel.__setstate__"> |
---|
| 226 | <tt class="descname">__setstate__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__setstate__" title="Permalink to this definition">¶</a></dt> |
---|
| 227 | <dd><p>restore the state of a model from pickle</p> |
---|
| 228 | </dd></dl> |
---|
| 229 | |
---|
| 230 | <dl class="attribute"> |
---|
| 231 | <dt id="sans.models.ReflModel.ReflModel.__str__"> |
---|
| 232 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 233 | <dd><p>x.__str__() <==> str(x)</p> |
---|
| 234 | </dd></dl> |
---|
| 235 | |
---|
| 236 | <dl class="method"> |
---|
| 237 | <dt id="sans.models.ReflModel.ReflModel.__sub__"> |
---|
| 238 | <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__sub__" title="Permalink to this definition">¶</a></dt> |
---|
| 239 | <dd></dd></dl> |
---|
| 240 | |
---|
| 241 | <dl class="attribute"> |
---|
| 242 | <dt id="sans.models.ReflModel.ReflModel.__weakref__"> |
---|
| 243 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 244 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 245 | </dd></dl> |
---|
| 246 | |
---|
| 247 | <dl class="method"> |
---|
| 248 | <dt id="sans.models.ReflModel.ReflModel._clone"> |
---|
| 249 | <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel._clone" title="Permalink to this definition">¶</a></dt> |
---|
| 250 | <dd><p>Internal utility function to copy the internal |
---|
| 251 | data members to a fresh copy.</p> |
---|
| 252 | </dd></dl> |
---|
| 253 | |
---|
| 254 | <dl class="method"> |
---|
[512573a] | 255 | <dt id="sans.models.ReflModel.ReflModel.calculate_ER"> |
---|
| 256 | <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.calculate_ER" title="Permalink to this definition">¶</a></dt> |
---|
| 257 | <dd><p>Calculate the effective radius for P(q)*S(q)</p> |
---|
| 258 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 259 | <col class="field-name" /> |
---|
| 260 | <col class="field-body" /> |
---|
| 261 | <tbody valign="top"> |
---|
[c0d873f] | 262 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td> |
---|
[512573a] | 263 | </tr> |
---|
| 264 | </tbody> |
---|
| 265 | </table> |
---|
| 266 | </dd></dl> |
---|
| 267 | |
---|
| 268 | <dl class="method"> |
---|
| 269 | <dt id="sans.models.ReflModel.ReflModel.clone"> |
---|
| 270 | <tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.clone" title="Permalink to this definition">¶</a></dt> |
---|
| 271 | <dd><p>Return a identical copy of self</p> |
---|
| 272 | </dd></dl> |
---|
| 273 | |
---|
| 274 | <dl class="attribute"> |
---|
| 275 | <dt id="sans.models.ReflModel.ReflModel.dispersion"> |
---|
| 276 | <tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.dispersion" title="Permalink to this definition">¶</a></dt> |
---|
| 277 | <dd><p>Dispersion parameters</p> |
---|
| 278 | </dd></dl> |
---|
| 279 | |
---|
| 280 | <dl class="method"> |
---|
| 281 | <dt id="sans.models.ReflModel.ReflModel.evalDistribution"> |
---|
[c0d873f] | 282 | <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.evalDistribution" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 283 | <dd><p>Evaluate the model in cartesian coordinates</p> |
---|
| 284 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 285 | <col class="field-name" /> |
---|
| 286 | <col class="field-body" /> |
---|
| 287 | <tbody valign="top"> |
---|
[c0d873f] | 288 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – input q[], or [qx[], qy[]]</td> |
---|
[512573a] | 289 | </tr> |
---|
[c0d873f] | 290 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td> |
---|
[512573a] | 291 | </tr> |
---|
| 292 | </tbody> |
---|
| 293 | </table> |
---|
| 294 | </dd></dl> |
---|
| 295 | |
---|
| 296 | <dl class="method"> |
---|
| 297 | <dt id="sans.models.ReflModel.ReflModel.getDispParamList"> |
---|
| 298 | <tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getDispParamList" title="Permalink to this definition">¶</a></dt> |
---|
| 299 | <dd><p>Return a list of all available parameters for the model</p> |
---|
| 300 | </dd></dl> |
---|
| 301 | |
---|
| 302 | <dl class="method"> |
---|
| 303 | <dt id="sans.models.ReflModel.ReflModel.getParam"> |
---|
[c0d873f] | 304 | <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParam" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 305 | <dd><p>Set the value of a model parameter</p> |
---|
| 306 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 307 | <col class="field-name" /> |
---|
| 308 | <col class="field-body" /> |
---|
| 309 | <tbody valign="top"> |
---|
[c0d873f] | 310 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> |
---|
[512573a] | 311 | </tr> |
---|
| 312 | </tbody> |
---|
| 313 | </table> |
---|
| 314 | </dd></dl> |
---|
| 315 | |
---|
| 316 | <dl class="method"> |
---|
| 317 | <dt id="sans.models.ReflModel.ReflModel.getParamList"> |
---|
| 318 | <tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamList" title="Permalink to this definition">¶</a></dt> |
---|
| 319 | <dd><p>Return a list of all available parameters for the model</p> |
---|
| 320 | </dd></dl> |
---|
| 321 | |
---|
| 322 | <dl class="method"> |
---|
| 323 | <dt id="sans.models.ReflModel.ReflModel.getParamListWithToken"> |
---|
[c0d873f] | 324 | <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 325 | <dd></dd></dl> |
---|
| 326 | |
---|
| 327 | <dl class="method"> |
---|
| 328 | <dt id="sans.models.ReflModel.ReflModel.getParamWithToken"> |
---|
[c0d873f] | 329 | <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 330 | <dd></dd></dl> |
---|
| 331 | |
---|
| 332 | <dl class="method"> |
---|
| 333 | <dt id="sans.models.ReflModel.ReflModel.is_fittable"> |
---|
[c0d873f] | 334 | <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.is_fittable" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 335 | <dd><p>Check if a given parameter is fittable or not</p> |
---|
| 336 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 337 | <col class="field-name" /> |
---|
| 338 | <col class="field-body" /> |
---|
| 339 | <tbody valign="top"> |
---|
[c0d873f] | 340 | <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> |
---|
[512573a] | 341 | </tr> |
---|
| 342 | </tbody> |
---|
| 343 | </table> |
---|
| 344 | </dd></dl> |
---|
| 345 | |
---|
| 346 | <dl class="attribute"> |
---|
| 347 | <dt id="sans.models.ReflModel.ReflModel.log"> |
---|
| 348 | <tt class="descname">log</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.log" title="Permalink to this definition">¶</a></dt> |
---|
| 349 | <dd><p>Log</p> |
---|
| 350 | </dd></dl> |
---|
| 351 | |
---|
| 352 | <dl class="attribute"> |
---|
| 353 | <dt id="sans.models.ReflModel.ReflModel.params"> |
---|
| 354 | <tt class="descname">params</tt><a class="headerlink" href="#sans.models.ReflModel.ReflModel.params" title="Permalink to this definition">¶</a></dt> |
---|
| 355 | <dd><p>Parameters</p> |
---|
| 356 | </dd></dl> |
---|
| 357 | |
---|
[c0d873f] | 358 | <dl class="method"> |
---|
[512573a] | 359 | <dt id="sans.models.ReflModel.ReflModel.reset"> |
---|
[c0d873f] | 360 | <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.reset" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 361 | <dd><p>Reset pair correlation</p> |
---|
| 362 | </dd></dl> |
---|
| 363 | |
---|
| 364 | <dl class="method"> |
---|
| 365 | <dt id="sans.models.ReflModel.ReflModel.run"> |
---|
[c0d873f] | 366 | <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.run" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 367 | <dd><p>Evaluate the model</p> |
---|
| 368 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 369 | <col class="field-name" /> |
---|
| 370 | <col class="field-body" /> |
---|
| 371 | <tbody valign="top"> |
---|
[c0d873f] | 372 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – input q, or [q,phi]</td> |
---|
[512573a] | 373 | </tr> |
---|
[c0d873f] | 374 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td> |
---|
[512573a] | 375 | </tr> |
---|
| 376 | </tbody> |
---|
| 377 | </table> |
---|
| 378 | </dd></dl> |
---|
| 379 | |
---|
| 380 | <dl class="method"> |
---|
| 381 | <dt id="sans.models.ReflModel.ReflModel.runXY"> |
---|
[c0d873f] | 382 | <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.runXY" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 383 | <dd><p>Evaluate the model in cartesian coordinates</p> |
---|
| 384 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 385 | <col class="field-name" /> |
---|
| 386 | <col class="field-body" /> |
---|
| 387 | <tbody valign="top"> |
---|
[c0d873f] | 388 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> – input q, or [qx, qy]</td> |
---|
[512573a] | 389 | </tr> |
---|
[c0d873f] | 390 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td> |
---|
[512573a] | 391 | </tr> |
---|
| 392 | </tbody> |
---|
| 393 | </table> |
---|
| 394 | </dd></dl> |
---|
| 395 | |
---|
| 396 | <dl class="method"> |
---|
| 397 | <dt id="sans.models.ReflModel.ReflModel.setParam"> |
---|
[c0d873f] | 398 | <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.setParam" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 399 | <dd><p>Set the value of a model parameter</p> |
---|
| 400 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 401 | <col class="field-name" /> |
---|
| 402 | <col class="field-body" /> |
---|
| 403 | <tbody valign="top"> |
---|
[c0d873f] | 404 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
[512573a] | 405 | <li><strong>name</strong> – name of the parameter</li> |
---|
| 406 | <li><strong>value</strong> – value of the parameter</li> |
---|
| 407 | </ul> |
---|
| 408 | </td> |
---|
| 409 | </tr> |
---|
| 410 | </tbody> |
---|
| 411 | </table> |
---|
| 412 | </dd></dl> |
---|
| 413 | |
---|
| 414 | <dl class="method"> |
---|
| 415 | <dt id="sans.models.ReflModel.ReflModel.setParamWithToken"> |
---|
[c0d873f] | 416 | <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 417 | <dd></dd></dl> |
---|
| 418 | |
---|
| 419 | <dl class="method"> |
---|
| 420 | <dt id="sans.models.ReflModel.ReflModel.set_dispersion"> |
---|
[c0d873f] | 421 | <tt class="descname">set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.ReflModel.set_dispersion" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 422 | <dd><p>Set the dispersion object for a model parameter</p> |
---|
| 423 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 424 | <col class="field-name" /> |
---|
| 425 | <col class="field-body" /> |
---|
| 426 | <tbody valign="top"> |
---|
[c0d873f] | 427 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
[512573a] | 428 | <li><strong>parameter</strong> – name of the parameter [string]</li> |
---|
| 429 | <li><strong>dispersion</strong> – dispersion object of type DispersionModel</li> |
---|
| 430 | </ul> |
---|
| 431 | </td> |
---|
| 432 | </tr> |
---|
| 433 | </tbody> |
---|
| 434 | </table> |
---|
| 435 | </dd></dl> |
---|
| 436 | |
---|
| 437 | </dd></dl> |
---|
| 438 | |
---|
| 439 | <dl class="function"> |
---|
| 440 | <dt id="sans.models.ReflModel.create_ReflModel"> |
---|
| 441 | <tt class="descclassname">sans.models.ReflModel.</tt><tt class="descname">create_ReflModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.ReflModel.create_ReflModel" title="Permalink to this definition">¶</a></dt> |
---|
| 442 | <dd></dd></dl> |
---|
| 443 | |
---|
| 444 | </div> |
---|
| 445 | </div> |
---|
| 446 | |
---|
| 447 | |
---|
| 448 | </div> |
---|
| 449 | </div> |
---|
| 450 | </div> |
---|
| 451 | <div class="sphinxsidebar"> |
---|
| 452 | <div class="sphinxsidebarwrapper"> |
---|
| 453 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 454 | <ul> |
---|
| 455 | <li><a class="reference internal" href="#">ReflModel</a><ul> |
---|
[c0d873f] | 456 | <li><a class="reference internal" href="#sans-models-reflmodel"><tt class="docutils literal"><span class="pre">sans.models.ReflModel</span></tt></a></li> |
---|
[512573a] | 457 | </ul> |
---|
| 458 | </li> |
---|
| 459 | </ul> |
---|
| 460 | |
---|
| 461 | <h4>Previous topic</h4> |
---|
| 462 | <p class="topless"><a href="ReflectivityModel.html" |
---|
| 463 | title="previous chapter">ReflectivityModel</a></p> |
---|
| 464 | <h4>Next topic</h4> |
---|
| 465 | <p class="topless"><a href="RPA10Model.html" |
---|
| 466 | title="next chapter">RPA10Model</a></p> |
---|
| 467 | <h3>This Page</h3> |
---|
| 468 | <ul class="this-page-menu"> |
---|
| 469 | <li><a href="../_sources/api/ReflModel.txt" |
---|
| 470 | rel="nofollow">Show Source</a></li> |
---|
| 471 | </ul> |
---|
| 472 | <div id="searchbox" style="display: none"> |
---|
| 473 | <h3>Quick search</h3> |
---|
| 474 | <form class="search" action="../search.html" method="get"> |
---|
[c0d873f] | 475 | <input type="text" name="q" /> |
---|
[512573a] | 476 | <input type="submit" value="Go" /> |
---|
| 477 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 478 | <input type="hidden" name="area" value="default" /> |
---|
| 479 | </form> |
---|
| 480 | <p class="searchtip" style="font-size: 90%"> |
---|
| 481 | Enter search terms or a module, class or function name. |
---|
| 482 | </p> |
---|
| 483 | </div> |
---|
| 484 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 485 | </div> |
---|
| 486 | </div> |
---|
| 487 | <div class="clearer"></div> |
---|
| 488 | </div> |
---|
| 489 | <div class="related"> |
---|
| 490 | <h3>Navigation</h3> |
---|
| 491 | <ul> |
---|
| 492 | <li class="right" style="margin-right: 10px"> |
---|
| 493 | <a href="../genindex.html" title="General Index" |
---|
| 494 | >index</a></li> |
---|
| 495 | <li class="right" > |
---|
| 496 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 497 | >modules</a> |</li> |
---|
| 498 | <li class="right" > |
---|
| 499 | <a href="RPA10Model.html" title="RPA10Model" |
---|
| 500 | >next</a> |</li> |
---|
| 501 | <li class="right" > |
---|
| 502 | <a href="ReflectivityModel.html" title="ReflectivityModel" |
---|
| 503 | >previous</a> |</li> |
---|
[c0d873f] | 504 | <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> |
---|
[512573a] | 505 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 506 | </ul> |
---|
| 507 | </div> |
---|
| 508 | <div class="footer"> |
---|
| 509 | © Copyright 2010, sans group. |
---|
[c0d873f] | 510 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
[512573a] | 511 | </div> |
---|
| 512 | </body> |
---|
| 513 | </html> |
---|