[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>RPAModel — 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="SCCrystalModel" href="SCCrystalModel.html" /> |
---|
| 31 | <link rel="prev" title="RPA10Model" href="RPA10Model.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="SCCrystalModel.html" title="SCCrystalModel" |
---|
| 45 | accesskey="N">next</a> |</li> |
---|
| 46 | <li class="right" > |
---|
| 47 | <a href="RPA10Model.html" title="RPA10Model" |
---|
| 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="rpamodel"> |
---|
| 60 | <h1>RPAModel<a class="headerlink" href="#rpamodel" title="Permalink to this headline">¶</a></h1> |
---|
[c0d873f] | 61 | <div class="section" id="sans-models-rpamodel"> |
---|
| 62 | <h2><a class="reference internal" href="#module-sans.models.RPAModel" title="sans.models.RPAModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.RPAModel</span></tt></a><a class="headerlink" href="#sans-models-rpamodel" title="Permalink to this headline">¶</a></h2> |
---|
| 63 | <span class="target" id="module-sans.models.RPAModel"></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>pa.h</dt> |
---|
| 75 | <dd>AND RE-RUN THE GENERATOR SCRIPT</dd> |
---|
| 76 | </dl> |
---|
| 77 | <dl class="class"> |
---|
| 78 | <dt id="sans.models.RPAModel.RPAModel"> |
---|
| 79 | <em class="property">class </em><tt class="descclassname">sans.models.RPAModel.</tt><tt class="descname">RPAModel</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel" title="Permalink to this definition">¶</a></dt> |
---|
| 80 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CRPAModel</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 RPAModel model. |
---|
| 83 | This file was auto-generated from ..c_extensions</div></blockquote> |
---|
| 84 | <dl class="docutils"> |
---|
| 85 | <dt>pa.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>lcase_n = 0.0 |
---|
| 91 | ba = 5.0 |
---|
| 92 | bb = 5.0 |
---|
| 93 | bc = 5.0 |
---|
| 94 | bd = 5.0 |
---|
| 95 | Kab = -0.0004 |
---|
| 96 | Kac = -0.0004 |
---|
| 97 | Kad = -0.0004 |
---|
| 98 | Kbc = -0.0004 |
---|
| 99 | Kbd = -0.0004 |
---|
| 100 | Kcd = -0.0004 |
---|
| 101 | scale = 1.0 |
---|
| 102 | background = 0.0 [1/cm] |
---|
| 103 | Na = 1000.0 |
---|
| 104 | Phia = 0.25 |
---|
| 105 | va = 100.0 |
---|
| 106 | La = 1e-12 |
---|
| 107 | Nb = 1000.0 |
---|
| 108 | Phib = 0.25 |
---|
| 109 | vb = 100.0 |
---|
| 110 | Lb = 1e-12 |
---|
| 111 | Nc = 1000.0 |
---|
| 112 | Phic = 0.25 |
---|
| 113 | vc = 100.0 |
---|
| 114 | Lc = 1e-12 |
---|
| 115 | Nd = 1000.0 |
---|
| 116 | Phid = 0.25 |
---|
| 117 | vd = 100.0 |
---|
| 118 | Ld = 0.0</div></blockquote> |
---|
| 119 | </dd> |
---|
| 120 | </dl> |
---|
| 121 | <dl class="method"> |
---|
[c0d873f] | 122 | <dt id="sans.models.RPAModel.RPAModel.__add__"> |
---|
| 123 | <tt class="descname">__add__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__add__" title="Permalink to this definition">¶</a></dt> |
---|
| 124 | <dd></dd></dl> |
---|
| 125 | |
---|
| 126 | <dl class="attribute"> |
---|
| 127 | <dt id="sans.models.RPAModel.RPAModel.__class__"> |
---|
| 128 | <tt class="descname">__class__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__class__" title="Permalink to this definition">¶</a></dt> |
---|
| 129 | <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p> |
---|
| 130 | </dd></dl> |
---|
| 131 | |
---|
| 132 | <dl class="attribute"> |
---|
| 133 | <dt id="sans.models.RPAModel.RPAModel.__delattr__"> |
---|
| 134 | <tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__delattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 135 | <dd><p>x.__delattr__(‘name’) <==> del x.name</p> |
---|
| 136 | </dd></dl> |
---|
| 137 | |
---|
| 138 | <dl class="attribute"> |
---|
| 139 | <dt id="sans.models.RPAModel.RPAModel.__dict__"> |
---|
| 140 | <tt class="descname">__dict__</tt><em class="property"> = <dictproxy object at 0x02E186F0></em><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__dict__" title="Permalink to this definition">¶</a></dt> |
---|
| 141 | <dd></dd></dl> |
---|
| 142 | |
---|
| 143 | <dl class="method"> |
---|
| 144 | <dt id="sans.models.RPAModel.RPAModel.__div__"> |
---|
| 145 | <tt class="descname">__div__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__div__" title="Permalink to this definition">¶</a></dt> |
---|
| 146 | <dd></dd></dl> |
---|
| 147 | |
---|
| 148 | <dl class="attribute"> |
---|
| 149 | <dt id="sans.models.RPAModel.RPAModel.__getattribute__"> |
---|
| 150 | <tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__getattribute__" title="Permalink to this definition">¶</a></dt> |
---|
| 151 | <dd><p>x.__getattribute__(‘name’) <==> x.name</p> |
---|
| 152 | </dd></dl> |
---|
| 153 | |
---|
| 154 | <dl class="attribute"> |
---|
| 155 | <dt id="sans.models.RPAModel.RPAModel.__hash__"> |
---|
| 156 | <tt class="descname">__hash__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__hash__" title="Permalink to this definition">¶</a></dt> |
---|
| 157 | <dd><p>x.__hash__() <==> hash(x)</p> |
---|
| 158 | </dd></dl> |
---|
| 159 | |
---|
| 160 | <dl class="method"> |
---|
| 161 | <dt id="sans.models.RPAModel.RPAModel.__init__"> |
---|
| 162 | <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__init__" title="Permalink to this definition">¶</a></dt> |
---|
| 163 | <dd><p>Initialization</p> |
---|
| 164 | </dd></dl> |
---|
| 165 | |
---|
| 166 | <dl class="attribute"> |
---|
| 167 | <dt id="sans.models.RPAModel.RPAModel.__module__"> |
---|
| 168 | <tt class="descname">__module__</tt><em class="property"> = 'sans.models.RPAModel'</em><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__module__" title="Permalink to this definition">¶</a></dt> |
---|
| 169 | <dd></dd></dl> |
---|
| 170 | |
---|
| 171 | <dl class="method"> |
---|
| 172 | <dt id="sans.models.RPAModel.RPAModel.__mul__"> |
---|
| 173 | <tt class="descname">__mul__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__mul__" title="Permalink to this definition">¶</a></dt> |
---|
| 174 | <dd></dd></dl> |
---|
| 175 | |
---|
| 176 | <dl class="staticmethod"> |
---|
| 177 | <dt id="sans.models.RPAModel.RPAModel.__new__"> |
---|
| 178 | <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.RPAModel.RPAModel.__new__" title="Permalink to this definition">¶</a></dt> |
---|
| 179 | <dd></dd></dl> |
---|
| 180 | |
---|
| 181 | <dl class="method"> |
---|
| 182 | <dt id="sans.models.RPAModel.RPAModel.__reduce__"> |
---|
| 183 | <tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__reduce__" title="Permalink to this definition">¶</a></dt> |
---|
| 184 | <dd><p>helper for pickle</p> |
---|
| 185 | </dd></dl> |
---|
| 186 | |
---|
| 187 | <dl class="method"> |
---|
| 188 | <dt id="sans.models.RPAModel.RPAModel.__reduce_ex__"> |
---|
| 189 | <tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__reduce_ex__" title="Permalink to this definition">¶</a></dt> |
---|
| 190 | <dd><p>Overwrite the __reduce_ex__ of PyTypeObject <a href="#id1"><span class="problematic" id="id2">*</span></a>type call in the init of |
---|
| 191 | c model.</p> |
---|
| 192 | </dd></dl> |
---|
| 193 | |
---|
| 194 | <dl class="attribute"> |
---|
| 195 | <dt id="sans.models.RPAModel.RPAModel.__repr__"> |
---|
| 196 | <tt class="descname">__repr__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__repr__" title="Permalink to this definition">¶</a></dt> |
---|
| 197 | <dd><p>x.__repr__() <==> repr(x)</p> |
---|
| 198 | </dd></dl> |
---|
| 199 | |
---|
| 200 | <dl class="attribute"> |
---|
| 201 | <dt id="sans.models.RPAModel.RPAModel.__setattr__"> |
---|
| 202 | <tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__setattr__" title="Permalink to this definition">¶</a></dt> |
---|
| 203 | <dd><p>x.__setattr__(‘name’, value) <==> x.name = value</p> |
---|
| 204 | </dd></dl> |
---|
| 205 | |
---|
| 206 | <dl class="method"> |
---|
| 207 | <dt id="sans.models.RPAModel.RPAModel.__setstate__"> |
---|
| 208 | <tt class="descname">__setstate__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__setstate__" title="Permalink to this definition">¶</a></dt> |
---|
| 209 | <dd><p>restore the state of a model from pickle</p> |
---|
| 210 | </dd></dl> |
---|
| 211 | |
---|
| 212 | <dl class="attribute"> |
---|
| 213 | <dt id="sans.models.RPAModel.RPAModel.__str__"> |
---|
| 214 | <tt class="descname">__str__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__str__" title="Permalink to this definition">¶</a></dt> |
---|
| 215 | <dd><p>x.__str__() <==> str(x)</p> |
---|
| 216 | </dd></dl> |
---|
| 217 | |
---|
| 218 | <dl class="method"> |
---|
| 219 | <dt id="sans.models.RPAModel.RPAModel.__sub__"> |
---|
| 220 | <tt class="descname">__sub__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__sub__" title="Permalink to this definition">¶</a></dt> |
---|
| 221 | <dd></dd></dl> |
---|
| 222 | |
---|
| 223 | <dl class="attribute"> |
---|
| 224 | <dt id="sans.models.RPAModel.RPAModel.__weakref__"> |
---|
| 225 | <tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.__weakref__" title="Permalink to this definition">¶</a></dt> |
---|
| 226 | <dd><p>list of weak references to the object (if defined)</p> |
---|
| 227 | </dd></dl> |
---|
| 228 | |
---|
| 229 | <dl class="method"> |
---|
| 230 | <dt id="sans.models.RPAModel.RPAModel._clone"> |
---|
| 231 | <tt class="descname">_clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel._clone" title="Permalink to this definition">¶</a></dt> |
---|
| 232 | <dd><p>Internal utility function to copy the internal |
---|
| 233 | data members to a fresh copy.</p> |
---|
| 234 | </dd></dl> |
---|
| 235 | |
---|
| 236 | <dl class="method"> |
---|
[512573a] | 237 | <dt id="sans.models.RPAModel.RPAModel.calculate_ER"> |
---|
| 238 | <tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.calculate_ER" title="Permalink to this definition">¶</a></dt> |
---|
| 239 | <dd><p>Calculate the effective radius for P(q)*S(q)</p> |
---|
| 240 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 241 | <col class="field-name" /> |
---|
| 242 | <col class="field-body" /> |
---|
| 243 | <tbody valign="top"> |
---|
[c0d873f] | 244 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td> |
---|
[512573a] | 245 | </tr> |
---|
| 246 | </tbody> |
---|
| 247 | </table> |
---|
| 248 | </dd></dl> |
---|
| 249 | |
---|
| 250 | <dl class="method"> |
---|
| 251 | <dt id="sans.models.RPAModel.RPAModel.clone"> |
---|
| 252 | <tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.clone" title="Permalink to this definition">¶</a></dt> |
---|
| 253 | <dd><p>Return a identical copy of self</p> |
---|
| 254 | </dd></dl> |
---|
| 255 | |
---|
| 256 | <dl class="attribute"> |
---|
| 257 | <dt id="sans.models.RPAModel.RPAModel.dispersion"> |
---|
| 258 | <tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.dispersion" title="Permalink to this definition">¶</a></dt> |
---|
| 259 | <dd><p>Dispersion parameters</p> |
---|
| 260 | </dd></dl> |
---|
| 261 | |
---|
| 262 | <dl class="method"> |
---|
| 263 | <dt id="sans.models.RPAModel.RPAModel.evalDistribution"> |
---|
[c0d873f] | 264 | <tt class="descname">evalDistribution</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.evalDistribution" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 265 | <dd><p>Evaluate the model in cartesian coordinates</p> |
---|
| 266 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 267 | <col class="field-name" /> |
---|
| 268 | <col class="field-body" /> |
---|
| 269 | <tbody valign="top"> |
---|
[c0d873f] | 270 | <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] | 271 | </tr> |
---|
[c0d873f] | 272 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q[])</td> |
---|
[512573a] | 273 | </tr> |
---|
| 274 | </tbody> |
---|
| 275 | </table> |
---|
| 276 | </dd></dl> |
---|
| 277 | |
---|
| 278 | <dl class="method"> |
---|
| 279 | <dt id="sans.models.RPAModel.RPAModel.getDispParamList"> |
---|
| 280 | <tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getDispParamList" title="Permalink to this definition">¶</a></dt> |
---|
| 281 | <dd><p>Return a list of all available parameters for the model</p> |
---|
| 282 | </dd></dl> |
---|
| 283 | |
---|
| 284 | <dl class="method"> |
---|
| 285 | <dt id="sans.models.RPAModel.RPAModel.getParam"> |
---|
[c0d873f] | 286 | <tt class="descname">getParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParam" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 287 | <dd><p>Set the value of a model parameter</p> |
---|
| 288 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 289 | <col class="field-name" /> |
---|
| 290 | <col class="field-body" /> |
---|
| 291 | <tbody valign="top"> |
---|
[c0d873f] | 292 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> – name of the parameter</td> |
---|
[512573a] | 293 | </tr> |
---|
| 294 | </tbody> |
---|
| 295 | </table> |
---|
| 296 | </dd></dl> |
---|
| 297 | |
---|
| 298 | <dl class="method"> |
---|
| 299 | <dt id="sans.models.RPAModel.RPAModel.getParamList"> |
---|
| 300 | <tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamList" title="Permalink to this definition">¶</a></dt> |
---|
| 301 | <dd><p>Return a list of all available parameters for the model</p> |
---|
| 302 | </dd></dl> |
---|
| 303 | |
---|
| 304 | <dl class="method"> |
---|
| 305 | <dt id="sans.models.RPAModel.RPAModel.getParamListWithToken"> |
---|
[c0d873f] | 306 | <tt class="descname">getParamListWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 307 | <dd></dd></dl> |
---|
| 308 | |
---|
| 309 | <dl class="method"> |
---|
| 310 | <dt id="sans.models.RPAModel.RPAModel.getParamWithToken"> |
---|
[c0d873f] | 311 | <tt class="descname">getParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.getParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 312 | <dd></dd></dl> |
---|
| 313 | |
---|
| 314 | <dl class="method"> |
---|
| 315 | <dt id="sans.models.RPAModel.RPAModel.is_fittable"> |
---|
[c0d873f] | 316 | <tt class="descname">is_fittable</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.is_fittable" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 317 | <dd><p>Check if a given parameter is fittable or not</p> |
---|
| 318 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 319 | <col class="field-name" /> |
---|
| 320 | <col class="field-body" /> |
---|
| 321 | <tbody valign="top"> |
---|
[c0d873f] | 322 | <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] | 323 | </tr> |
---|
| 324 | </tbody> |
---|
| 325 | </table> |
---|
| 326 | </dd></dl> |
---|
| 327 | |
---|
| 328 | <dl class="attribute"> |
---|
| 329 | <dt id="sans.models.RPAModel.RPAModel.log"> |
---|
| 330 | <tt class="descname">log</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.log" title="Permalink to this definition">¶</a></dt> |
---|
| 331 | <dd><p>Log</p> |
---|
| 332 | </dd></dl> |
---|
| 333 | |
---|
| 334 | <dl class="attribute"> |
---|
| 335 | <dt id="sans.models.RPAModel.RPAModel.params"> |
---|
| 336 | <tt class="descname">params</tt><a class="headerlink" href="#sans.models.RPAModel.RPAModel.params" title="Permalink to this definition">¶</a></dt> |
---|
| 337 | <dd><p>Parameters</p> |
---|
| 338 | </dd></dl> |
---|
| 339 | |
---|
[c0d873f] | 340 | <dl class="method"> |
---|
[512573a] | 341 | <dt id="sans.models.RPAModel.RPAModel.reset"> |
---|
[c0d873f] | 342 | <tt class="descname">reset</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.reset" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 343 | <dd><p>Reset pair correlation</p> |
---|
| 344 | </dd></dl> |
---|
| 345 | |
---|
| 346 | <dl class="method"> |
---|
| 347 | <dt id="sans.models.RPAModel.RPAModel.run"> |
---|
[c0d873f] | 348 | <tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.run" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 349 | <dd><p>Evaluate the model</p> |
---|
| 350 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 351 | <col class="field-name" /> |
---|
| 352 | <col class="field-body" /> |
---|
| 353 | <tbody valign="top"> |
---|
[c0d873f] | 354 | <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] | 355 | </tr> |
---|
[c0d873f] | 356 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td> |
---|
[512573a] | 357 | </tr> |
---|
| 358 | </tbody> |
---|
| 359 | </table> |
---|
| 360 | </dd></dl> |
---|
| 361 | |
---|
| 362 | <dl class="method"> |
---|
| 363 | <dt id="sans.models.RPAModel.RPAModel.runXY"> |
---|
[c0d873f] | 364 | <tt class="descname">runXY</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.runXY" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 365 | <dd><p>Evaluate the model in cartesian coordinates</p> |
---|
| 366 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 367 | <col class="field-name" /> |
---|
| 368 | <col class="field-body" /> |
---|
| 369 | <tbody valign="top"> |
---|
[c0d873f] | 370 | <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] | 371 | </tr> |
---|
[c0d873f] | 372 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td> |
---|
[512573a] | 373 | </tr> |
---|
| 374 | </tbody> |
---|
| 375 | </table> |
---|
| 376 | </dd></dl> |
---|
| 377 | |
---|
| 378 | <dl class="method"> |
---|
| 379 | <dt id="sans.models.RPAModel.RPAModel.setParam"> |
---|
[c0d873f] | 380 | <tt class="descname">setParam</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.setParam" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 381 | <dd><p>Set the value of a model parameter</p> |
---|
| 382 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 383 | <col class="field-name" /> |
---|
| 384 | <col class="field-body" /> |
---|
| 385 | <tbody valign="top"> |
---|
[c0d873f] | 386 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
[512573a] | 387 | <li><strong>name</strong> – name of the parameter</li> |
---|
| 388 | <li><strong>value</strong> – value of the parameter</li> |
---|
| 389 | </ul> |
---|
| 390 | </td> |
---|
| 391 | </tr> |
---|
| 392 | </tbody> |
---|
| 393 | </table> |
---|
| 394 | </dd></dl> |
---|
| 395 | |
---|
| 396 | <dl class="method"> |
---|
| 397 | <dt id="sans.models.RPAModel.RPAModel.setParamWithToken"> |
---|
[c0d873f] | 398 | <tt class="descname">setParamWithToken</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.setParamWithToken" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 399 | <dd></dd></dl> |
---|
| 400 | |
---|
| 401 | <dl class="method"> |
---|
| 402 | <dt id="sans.models.RPAModel.RPAModel.set_dispersion"> |
---|
[c0d873f] | 403 | <tt class="descname">set_dispersion</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.RPAModel.set_dispersion" title="Permalink to this definition">¶</a></dt> |
---|
[512573a] | 404 | <dd><p>Set the dispersion object for a model parameter</p> |
---|
| 405 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 406 | <col class="field-name" /> |
---|
| 407 | <col class="field-body" /> |
---|
| 408 | <tbody valign="top"> |
---|
[c0d873f] | 409 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
[512573a] | 410 | <li><strong>parameter</strong> – name of the parameter [string]</li> |
---|
| 411 | <li><strong>dispersion</strong> – dispersion object of type DispersionModel</li> |
---|
| 412 | </ul> |
---|
| 413 | </td> |
---|
| 414 | </tr> |
---|
| 415 | </tbody> |
---|
| 416 | </table> |
---|
| 417 | </dd></dl> |
---|
| 418 | |
---|
| 419 | </dd></dl> |
---|
| 420 | |
---|
| 421 | <dl class="function"> |
---|
| 422 | <dt id="sans.models.RPAModel.create_RPAModel"> |
---|
| 423 | <tt class="descclassname">sans.models.RPAModel.</tt><tt class="descname">create_RPAModel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPAModel.create_RPAModel" title="Permalink to this definition">¶</a></dt> |
---|
| 424 | <dd></dd></dl> |
---|
| 425 | |
---|
| 426 | </div> |
---|
| 427 | </div> |
---|
| 428 | |
---|
| 429 | |
---|
| 430 | </div> |
---|
| 431 | </div> |
---|
| 432 | </div> |
---|
| 433 | <div class="sphinxsidebar"> |
---|
| 434 | <div class="sphinxsidebarwrapper"> |
---|
| 435 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 436 | <ul> |
---|
| 437 | <li><a class="reference internal" href="#">RPAModel</a><ul> |
---|
[c0d873f] | 438 | <li><a class="reference internal" href="#sans-models-rpamodel"><tt class="docutils literal"><span class="pre">sans.models.RPAModel</span></tt></a></li> |
---|
[512573a] | 439 | </ul> |
---|
| 440 | </li> |
---|
| 441 | </ul> |
---|
| 442 | |
---|
| 443 | <h4>Previous topic</h4> |
---|
| 444 | <p class="topless"><a href="RPA10Model.html" |
---|
| 445 | title="previous chapter">RPA10Model</a></p> |
---|
| 446 | <h4>Next topic</h4> |
---|
| 447 | <p class="topless"><a href="SCCrystalModel.html" |
---|
| 448 | title="next chapter">SCCrystalModel</a></p> |
---|
| 449 | <h3>This Page</h3> |
---|
| 450 | <ul class="this-page-menu"> |
---|
| 451 | <li><a href="../_sources/api/RPAModel.txt" |
---|
| 452 | rel="nofollow">Show Source</a></li> |
---|
| 453 | </ul> |
---|
| 454 | <div id="searchbox" style="display: none"> |
---|
| 455 | <h3>Quick search</h3> |
---|
| 456 | <form class="search" action="../search.html" method="get"> |
---|
[c0d873f] | 457 | <input type="text" name="q" /> |
---|
[512573a] | 458 | <input type="submit" value="Go" /> |
---|
| 459 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 460 | <input type="hidden" name="area" value="default" /> |
---|
| 461 | </form> |
---|
| 462 | <p class="searchtip" style="font-size: 90%"> |
---|
| 463 | Enter search terms or a module, class or function name. |
---|
| 464 | </p> |
---|
| 465 | </div> |
---|
| 466 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 467 | </div> |
---|
| 468 | </div> |
---|
| 469 | <div class="clearer"></div> |
---|
| 470 | </div> |
---|
| 471 | <div class="related"> |
---|
| 472 | <h3>Navigation</h3> |
---|
| 473 | <ul> |
---|
| 474 | <li class="right" style="margin-right: 10px"> |
---|
| 475 | <a href="../genindex.html" title="General Index" |
---|
| 476 | >index</a></li> |
---|
| 477 | <li class="right" > |
---|
| 478 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 479 | >modules</a> |</li> |
---|
| 480 | <li class="right" > |
---|
| 481 | <a href="SCCrystalModel.html" title="SCCrystalModel" |
---|
| 482 | >next</a> |</li> |
---|
| 483 | <li class="right" > |
---|
| 484 | <a href="RPA10Model.html" title="RPA10Model" |
---|
| 485 | >previous</a> |</li> |
---|
[c0d873f] | 486 | <li><a href="../index.html">sansmodels 0.1.0 documentation</a> »</li> |
---|
[512573a] | 487 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 488 | </ul> |
---|
| 489 | </div> |
---|
| 490 | <div class="footer"> |
---|
| 491 | © Copyright 2010, sans group. |
---|
[c0d873f] | 492 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
[512573a] | 493 | </div> |
---|
| 494 | </body> |
---|
| 495 | </html> |
---|