source: sasview/sansmodels/docs/sphinx/html/api/OnionExpShellModel.html @ fafdfd3

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 fafdfd3 was 512573a, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago

HTML folder generated by Sphinx

  • Property mode set to 100644
File size: 12.5 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>OnionExpShellModel &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="OnionModel" href="OnionModel.html" />
28    <link rel="prev" title="OblateModel" href="OblateModel.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="OnionModel.html" title="OnionModel"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="OblateModel.html" title="OblateModel"
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="onionexpshellmodel">
57<h1>OnionExpShellModel<a class="headerlink" href="#onionexpshellmodel" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.models.OnionExpShellModel">
59<span id="sans-models-onionexpshellmodel"></span><h2><a class="reference internal" href="#module-sans.models.OnionExpShellModel" title="sans.models.OnionExpShellModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.OnionExpShellModel</span></tt></a><a class="headerlink" href="#module-sans.models.OnionExpShellModel" title="Permalink to this headline">¶</a></h2>
60<dl class="class">
61<dt id="sans.models.OnionExpShellModel.OnionExpShellModel">
62<em class="property">class </em><tt class="descclassname">sans.models.OnionExpShellModel.</tt><tt class="descname">OnionExpShellModel</tt><big>(</big><em>n_shells=1</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel" 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 CoreMultiShellModel with exponential
65func shells and provides the capability
66of changing the number of shells between 1 and 10.</p>
67<dl class="method">
68<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.calculate_ER">
69<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.calculate_ER" title="Permalink to this definition">¶</a></dt>
70<dd></dd></dl>
71
72<dl class="method">
73<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.clone">
74<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.clone" title="Permalink to this definition">¶</a></dt>
75<dd><p>Returns a new object identical to the current object</p>
76</dd></dl>
77
78<dl class="method">
79<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.evalDistribution">
80<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.OnionExpShellModel.OnionExpShellModel.evalDistribution" title="Permalink to this definition">¶</a></dt>
81<dd><p>Evaluate the model in cartesian coordinates</p>
82<p>: param x: input q[], or [qx[], qy[]]
83: return: scattering function P(q[])</p>
84</dd></dl>
85
86<dl class="method">
87<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getDispParamList">
88<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getDispParamList" title="Permalink to this definition">¶</a></dt>
89<dd><p>Return a list of all available parameters for the model</p>
90</dd></dl>
91
92<dl class="method">
93<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParam">
94<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParam" title="Permalink to this definition">¶</a></dt>
95<dd><p>Set the value of a model parameter</p>
96<table class="docutils field-list" frame="void" rules="none">
97<col class="field-name" />
98<col class="field-body" />
99<tbody valign="top">
100<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> &#8211; name of the parameter</td>
101</tr>
102</tbody>
103</table>
104</dd></dl>
105
106<dl class="method">
107<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamList">
108<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamList" title="Permalink to this definition">¶</a></dt>
109<dd><p>Return a list of all available parameters for the model</p>
110</dd></dl>
111
112<dl class="method">
113<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamListWithToken">
114<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>
115<dd></dd></dl>
116
117<dl class="method">
118<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getParamWithToken">
119<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>
120<dd></dd></dl>
121
122<dl class="method">
123<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.getProfile">
124<tt class="descname">getProfile</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.getProfile" title="Permalink to this definition">¶</a></dt>
125<dd><p>Get SLD profile</p>
126<dl class="docutils">
127<dt>: return: (r, beta) where r is a list of radius of the transition </dt>
128<dd>points and  beta is a list of the corresponding SLD values</dd>
129</dl>
130</dd></dl>
131
132<dl class="method">
133<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.is_fittable">
134<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.is_fittable" title="Permalink to this definition">¶</a></dt>
135<dd><p>Check if a given parameter is fittable or not</p>
136<table class="docutils field-list" frame="void" rules="none">
137<col class="field-name" />
138<col class="field-body" />
139<tbody valign="top">
140<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><strong>par_name</strong> &#8211; the parameter name to check</td>
141</tr>
142</tbody>
143</table>
144</dd></dl>
145
146<dl class="method">
147<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.run">
148<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.run" title="Permalink to this definition">¶</a></dt>
149<dd><p>Evaluate the model</p>
150<p>: param x: input q-value (float or [float, float] as [r, theta])
151: return: (I value)</p>
152</dd></dl>
153
154<dl class="method">
155<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.runXY">
156<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.runXY" title="Permalink to this definition">¶</a></dt>
157<dd><p>Evaluate the model</p>
158<p>: param x: input q-value (float or [float, float] as [qx, qy])
159: return: I value</p>
160</dd></dl>
161
162<dl class="method">
163<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.setParam">
164<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.setParam" title="Permalink to this definition">¶</a></dt>
165<dd><p>Set the value of a model parameter</p>
166<p>: param name: name of the parameter
167: param value: value of the parameter</p>
168</dd></dl>
169
170<dl class="method">
171<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.setParamWithToken">
172<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.OnionExpShellModel.OnionExpShellModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>
173<dd></dd></dl>
174
175<dl class="method">
176<dt id="sans.models.OnionExpShellModel.OnionExpShellModel.set_dispersion">
177<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.OnionExpShellModel.OnionExpShellModel.set_dispersion" title="Permalink to this definition">¶</a></dt>
178<dd><p>Set the dispersion object for a model parameter</p>
179<p>: param parameter: name of the parameter [string]
180:dispersion: dispersion object of type DispersionModel</p>
181</dd></dl>
182
183</dd></dl>
184
185</div>
186</div>
187
188
189          </div>
190        </div>
191      </div>
192      <div class="sphinxsidebar">
193        <div class="sphinxsidebarwrapper">
194  <h3><a href="../index.html">Table Of Contents</a></h3>
195  <ul>
196<li><a class="reference internal" href="#">OnionExpShellModel</a><ul>
197<li><a class="reference internal" href="#module-sans.models.OnionExpShellModel"><tt class="docutils literal"><span class="pre">sans.models.OnionExpShellModel</span></tt></a></li>
198</ul>
199</li>
200</ul>
201
202  <h4>Previous topic</h4>
203  <p class="topless"><a href="OblateModel.html"
204                        title="previous chapter">OblateModel</a></p>
205  <h4>Next topic</h4>
206  <p class="topless"><a href="OnionModel.html"
207                        title="next chapter">OnionModel</a></p>
208  <h3>This Page</h3>
209  <ul class="this-page-menu">
210    <li><a href="../_sources/api/OnionExpShellModel.txt"
211           rel="nofollow">Show Source</a></li>
212  </ul>
213<div id="searchbox" style="display: none">
214  <h3>Quick search</h3>
215    <form class="search" action="../search.html" method="get">
216      <input type="text" name="q" size="18" />
217      <input type="submit" value="Go" />
218      <input type="hidden" name="check_keywords" value="yes" />
219      <input type="hidden" name="area" value="default" />
220    </form>
221    <p class="searchtip" style="font-size: 90%">
222    Enter search terms or a module, class or function name.
223    </p>
224</div>
225<script type="text/javascript">$('#searchbox').show(0);</script>
226        </div>
227      </div>
228      <div class="clearer"></div>
229    </div>
230    <div class="related">
231      <h3>Navigation</h3>
232      <ul>
233        <li class="right" style="margin-right: 10px">
234          <a href="../genindex.html" title="General Index"
235             >index</a></li>
236        <li class="right" >
237          <a href="../py-modindex.html" title="Python Module Index"
238             >modules</a> |</li>
239        <li class="right" >
240          <a href="OnionModel.html" title="OnionModel"
241             >next</a> |</li>
242        <li class="right" >
243          <a href="OblateModel.html" title="OblateModel"
244             >previous</a> |</li>
245        <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li>
246          <li><a href="index.html" >Reference</a> &raquo;</li> 
247      </ul>
248    </div>
249    <div class="footer">
250        &copy; Copyright 2010, sans group.
251      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
252    </div>
253  </body>
254</html>
Note: See TracBrowser for help on using the repository browser.