source: sasview/sansmodels/docs/sphinx/html/api/RPA10Model.html @ 650fd318

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 650fd318 was 512573a, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago

HTML folder generated by Sphinx

  • Property mode set to 100644
File size: 12.1 KB
Line 
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
6<html xmlns="http://www.w3.org/1999/xhtml">
7  <head>
8    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9   
10    <title>RPA10Model &mdash; sansmodels v0.1.0 documentation</title>
11    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
12    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
13    <script type="text/javascript">
14      var DOCUMENTATION_OPTIONS = {
15        URL_ROOT:    '../',
16        VERSION:     '0.1.0',
17        COLLAPSE_INDEX: false,
18        FILE_SUFFIX: '.html',
19        HAS_SOURCE:  true
20      };
21    </script>
22    <script type="text/javascript" src="../_static/jquery.js"></script>
23    <script type="text/javascript" src="../_static/underscore.js"></script>
24    <script type="text/javascript" src="../_static/doctools.js"></script>
25    <link rel="top" title="sansmodels v0.1.0 documentation" href="../index.html" />
26    <link rel="up" title="Reference" href="index.html" />
27    <link rel="next" title="RPAModel" href="RPAModel.html" />
28    <link rel="prev" title="ReflModel" href="ReflModel.html" /> 
29  </head>
30  <body>
31    <div class="related">
32      <h3>Navigation</h3>
33      <ul>
34        <li class="right" style="margin-right: 10px">
35          <a href="../genindex.html" title="General Index"
36             accesskey="I">index</a></li>
37        <li class="right" >
38          <a href="../py-modindex.html" title="Python Module Index"
39             >modules</a> |</li>
40        <li class="right" >
41          <a href="RPAModel.html" title="RPAModel"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="ReflModel.html" title="ReflModel"
45             accesskey="P">previous</a> |</li>
46        <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li>
47          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</li> 
48      </ul>
49    </div> 
50
51    <div class="document">
52      <div class="documentwrapper">
53        <div class="bodywrapper">
54          <div class="body">
55           
56  <div class="section" id="rpa10model">
57<h1>RPA10Model<a class="headerlink" href="#rpa10model" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.models.RPA10Model">
59<span id="sans-models-rpa10model"></span><h2><a class="reference internal" href="#module-sans.models.RPA10Model" title="sans.models.RPA10Model"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.RPA10Model</span></tt></a><a class="headerlink" href="#module-sans.models.RPA10Model" title="Permalink to this headline">¶</a></h2>
60<dl class="class">
61<dt id="sans.models.RPA10Model.RPA10Model">
62<em class="property">class </em><tt class="descclassname">sans.models.RPA10Model.</tt><tt class="descname">RPA10Model</tt><big>(</big><em>multfactor=1</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model" title="Permalink to this definition">¶</a></dt>
63<dd><p>Bases: <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>
64<p>This multi-model is based on Parratt formalism and provides the capability
65of changing the number of layers between 0 and 10.</p>
66<dl class="method">
67<dt id="sans.models.RPA10Model.RPA10Model.calculate_ER">
68<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.calculate_ER" title="Permalink to this definition">¶</a></dt>
69<dd></dd></dl>
70
71<dl class="method">
72<dt id="sans.models.RPA10Model.RPA10Model.clone">
73<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.clone" title="Permalink to this definition">¶</a></dt>
74<dd><p>Returns a new object identical to the current object</p>
75</dd></dl>
76
77<dl class="method">
78<dt id="sans.models.RPA10Model.RPA10Model.evalDistribution">
79<tt class="descname">evalDistribution</tt><big>(</big><em>x=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.evalDistribution" title="Permalink to this definition">¶</a></dt>
80<dd><p>Evaluate the model in cartesian coordinates</p>
81<p>: param x: input q[], or [qx[], qy[]]
82: return: scattering function P(q[])</p>
83</dd></dl>
84
85<dl class="method">
86<dt id="sans.models.RPA10Model.RPA10Model.getDispParamList">
87<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getDispParamList" title="Permalink to this definition">¶</a></dt>
88<dd><p>Return a list of all available parameters for the model</p>
89</dd></dl>
90
91<dl class="method">
92<dt id="sans.models.RPA10Model.RPA10Model.getParam">
93<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParam" title="Permalink to this definition">¶</a></dt>
94<dd><p>Set the value of a model parameter</p>
95<table class="docutils field-list" frame="void" rules="none">
96<col class="field-name" />
97<col class="field-body" />
98<tbody valign="top">
99<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
100</tr>
101</tbody>
102</table>
103</dd></dl>
104
105<dl class="method">
106<dt id="sans.models.RPA10Model.RPA10Model.getParamList">
107<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamList" title="Permalink to this definition">¶</a></dt>
108<dd><p>Return a list of all available parameters for the model</p>
109</dd></dl>
110
111<dl class="method">
112<dt id="sans.models.RPA10Model.RPA10Model.getParamListWithToken">
113<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamListWithToken" title="Permalink to this definition">¶</a></dt>
114<dd></dd></dl>
115
116<dl class="method">
117<dt id="sans.models.RPA10Model.RPA10Model.getParamWithToken">
118<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getParamWithToken" title="Permalink to this definition">¶</a></dt>
119<dd></dd></dl>
120
121<dl class="method">
122<dt id="sans.models.RPA10Model.RPA10Model.getProfile">
123<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.getProfile" title="Permalink to this definition">¶</a></dt>
124<dd><p>Get SLD profile</p>
125<p>: return: None, No SLD profile supporting for this model</p>
126</dd></dl>
127
128<dl class="method">
129<dt id="sans.models.RPA10Model.RPA10Model.is_fittable">
130<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.is_fittable" title="Permalink to this definition">¶</a></dt>
131<dd><p>Check if a given parameter is fittable or not</p>
132<table class="docutils field-list" frame="void" rules="none">
133<col class="field-name" />
134<col class="field-body" />
135<tbody valign="top">
136<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
137</tr>
138</tbody>
139</table>
140</dd></dl>
141
142<dl class="method">
143<dt id="sans.models.RPA10Model.RPA10Model.run">
144<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.run" title="Permalink to this definition">¶</a></dt>
145<dd><p>Evaluate the model</p>
146<table class="docutils field-list" frame="void" rules="none">
147<col class="field-name" />
148<col class="field-body" />
149<tbody valign="top">
150<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> &#8211; input q, or [q,phi]</td>
151</tr>
152<tr class="field"><th class="field-name">Returns:</th><td class="field-body">scattering function P(q)</td>
153</tr>
154</tbody>
155</table>
156</dd></dl>
157
158<dl class="method">
159<dt id="sans.models.RPA10Model.RPA10Model.runXY">
160<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.runXY" title="Permalink to this definition">¶</a></dt>
161<dd><p>Evaluate the model</p>
162<p>: param x: input q-value (float or [float, float] as [qx, qy])
163: return: scattering function value</p>
164</dd></dl>
165
166<dl class="method">
167<dt id="sans.models.RPA10Model.RPA10Model.setParam">
168<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.setParam" title="Permalink to this definition">¶</a></dt>
169<dd><p>Set the value of a model parameter</p>
170<p>: param name: name of the parameter
171: param value: value of the parameter</p>
172</dd></dl>
173
174<dl class="method">
175<dt id="sans.models.RPA10Model.RPA10Model.setParamWithToken">
176<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.RPA10Model.RPA10Model.setParamWithToken" title="Permalink to this definition">¶</a></dt>
177<dd></dd></dl>
178
179<dl class="method">
180<dt id="sans.models.RPA10Model.RPA10Model.set_dispersion">
181<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.RPA10Model.RPA10Model.set_dispersion" title="Permalink to this definition">¶</a></dt>
182<dd><p>Set the dispersion object for a model parameter</p>
183<p>: param parameter: name of the parameter [string]
184:dispersion: dispersion object of type DispersionModel</p>
185</dd></dl>
186
187</dd></dl>
188
189</div>
190</div>
191
192
193          </div>
194        </div>
195      </div>
196      <div class="sphinxsidebar">
197        <div class="sphinxsidebarwrapper">
198  <h3><a href="../index.html">Table Of Contents</a></h3>
199  <ul>
200<li><a class="reference internal" href="#">RPA10Model</a><ul>
201<li><a class="reference internal" href="#module-sans.models.RPA10Model"><tt class="docutils literal"><span class="pre">sans.models.RPA10Model</span></tt></a></li>
202</ul>
203</li>
204</ul>
205
206  <h4>Previous topic</h4>
207  <p class="topless"><a href="ReflModel.html"
208                        title="previous chapter">ReflModel</a></p>
209  <h4>Next topic</h4>
210  <p class="topless"><a href="RPAModel.html"
211                        title="next chapter">RPAModel</a></p>
212  <h3>This Page</h3>
213  <ul class="this-page-menu">
214    <li><a href="../_sources/api/RPA10Model.txt"
215           rel="nofollow">Show Source</a></li>
216  </ul>
217<div id="searchbox" style="display: none">
218  <h3>Quick search</h3>
219    <form class="search" action="../search.html" method="get">
220      <input type="text" name="q" size="18" />
221      <input type="submit" value="Go" />
222      <input type="hidden" name="check_keywords" value="yes" />
223      <input type="hidden" name="area" value="default" />
224    </form>
225    <p class="searchtip" style="font-size: 90%">
226    Enter search terms or a module, class or function name.
227    </p>
228</div>
229<script type="text/javascript">$('#searchbox').show(0);</script>
230        </div>
231      </div>
232      <div class="clearer"></div>
233    </div>
234    <div class="related">
235      <h3>Navigation</h3>
236      <ul>
237        <li class="right" style="margin-right: 10px">
238          <a href="../genindex.html" title="General Index"
239             >index</a></li>
240        <li class="right" >
241          <a href="../py-modindex.html" title="Python Module Index"
242             >modules</a> |</li>
243        <li class="right" >
244          <a href="RPAModel.html" title="RPAModel"
245             >next</a> |</li>
246        <li class="right" >
247          <a href="ReflModel.html" title="ReflModel"
248             >previous</a> |</li>
249        <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li>
250          <li><a href="index.html" >Reference</a> &raquo;</li> 
251      </ul>
252    </div>
253    <div class="footer">
254        &copy; Copyright 2010, sans group.
255      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
256    </div>
257  </body>
258</html>
Note: See TracBrowser for help on using the repository browser.