source: sasview/sansmodels/docs/sphinx/_build/html/api/HollowCylinderModel.html @ 79ac6f8

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 79ac6f8 was 79ac6f8, checked in by Gervaise Alina <gervyh@…>, 15 years ago

working on documentation

  • Property mode set to 100644
File size: 16.3 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>HollowCylinderModel &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="LamellarFFHGModel" href="LamellarFFHGModel.html" />
28    <link rel="prev" title="HayterMSAStructure" href="HayterMSAStructure.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="LamellarFFHGModel.html" title="LamellarFFHGModel"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="HayterMSAStructure.html" title="HayterMSAStructure"
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="hollowcylindermodel">
57<h1>HollowCylinderModel<a class="headerlink" href="#hollowcylindermodel" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.models.HollowCylinderModel">
59<span id="sans-models-hollowcylindermodel"></span><h2><a class="reference internal" href="#module-sans.models.HollowCylinderModel"><tt class="xref py py-mod docutils literal"><span class="pre">sans.models.HollowCylinderModel</span></tt></a><a class="headerlink" href="#module-sans.models.HollowCylinderModel" title="Permalink to this headline">¶</a></h2>
60<p>Provide functionality for a C extension model</p>
61<table class="docutils field-list" frame="void" rules="none">
62<col class="field-name" />
63<col class="field-body" />
64<tbody valign="top">
65<tr class="field"><th class="field-name">WARNING:</th><td class="field-body">THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY
66DO NOT MODIFY THIS FILE, MODIFY ..c_extensionshollow_cylinder.h
67AND RE-RUN THE GENERATOR SCRIPT</td>
68</tr>
69</tbody>
70</table>
71<dl class="class">
72<dt id="sans.models.HollowCylinderModel.HollowCylinderModel">
73<em class="property">class </em><tt class="descclassname">sans.models.HollowCylinderModel.</tt><tt class="descname">HollowCylinderModel</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel" title="Permalink to this definition">¶</a></dt>
74<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">CHollowCylinderModel</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>
75<p>Class that evaluates a HollowCylinderModel model.
76This file was auto-generated from ..c_extensionshollow_cylinder.h.
77Refer to that file and the structure it contains
78for details of the model.
79List of default parameters:</p>
80<blockquote>
81scale           = 1.0
82core_radius     = 20.0 [A]
83radius          = 30.0 [A]
84length          = 400.0 [A]
85sldCyl          = 6.3e-006 [1/A^(2)]
86sldSolv         = 1e-006 [1/A^(2)]
87background      = 0.01 [1/cm]
88axis_theta      = 1.57 [rad]
89axis_phi        = 0.0 [rad]</blockquote>
90<dl class="method">
91<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.calculate_ER">
92<tt class="descname">calculate_ER</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.calculate_ER" title="Permalink to this definition">¶</a></dt>
93<dd><p>Calculate the effective radius for P(q)*S(q)</p>
94<table class="docutils field-list" frame="void" rules="none">
95<col class="field-name" />
96<col class="field-body" />
97<tbody valign="top">
98<tr class="field"><th class="field-name">Returns:</th><td class="field-body">the value of the effective radius</td>
99</tr>
100</tbody>
101</table>
102</dd></dl>
103
104<dl class="method">
105<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.clone">
106<tt class="descname">clone</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.clone" title="Permalink to this definition">¶</a></dt>
107<dd>Return a identical copy of self</dd></dl>
108
109<dl class="attribute">
110<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.dispersion">
111<tt class="descname">dispersion</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.dispersion" title="Permalink to this definition">¶</a></dt>
112<dd>Dispersion parameters</dd></dl>
113
114<dl class="method">
115<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.evalDistribution">
116<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.HollowCylinderModel.HollowCylinderModel.evalDistribution" title="Permalink to this definition">¶</a></dt>
117<dd><p>Evaluate the model in cartesian coordinates</p>
118<table class="docutils field-list" frame="void" rules="none">
119<col class="field-name" />
120<col class="field-body" />
121<tbody valign="top">
122<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
123<li><strong>x</strong> &#8211; input q[], or [qx[], qy[]]</li>
124</ul>
125</td>
126</tr>
127<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">scattering function P(q[])</p>
128</td>
129</tr>
130</tbody>
131</table>
132</dd></dl>
133
134<dl class="method">
135<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getDispParamList">
136<tt class="descname">getDispParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getDispParamList" title="Permalink to this definition">¶</a></dt>
137<dd>Return a list of all available parameters for the model</dd></dl>
138
139<dl class="method">
140<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParam">
141<tt class="descname">getParam</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParam" title="Permalink to this definition">¶</a></dt>
142<dd><p>Set the value of a model parameter</p>
143<table class="docutils field-list" frame="void" rules="none">
144<col class="field-name" />
145<col class="field-body" />
146<tbody valign="top">
147<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
148<li><strong>name</strong> &#8211; name of the parameter</li>
149</ul>
150</td>
151</tr>
152</tbody>
153</table>
154</dd></dl>
155
156<dl class="method">
157<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamList">
158<tt class="descname">getParamList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamList" title="Permalink to this definition">¶</a></dt>
159<dd>Return a list of all available parameters for the model</dd></dl>
160
161<dl class="method">
162<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamListWithToken">
163<tt class="descname">getParamListWithToken</tt><big>(</big><em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamListWithToken" title="Permalink to this definition">¶</a></dt>
164<dd></dd></dl>
165
166<dl class="method">
167<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.getParamWithToken">
168<tt class="descname">getParamWithToken</tt><big>(</big><em>name</em>, <em>token</em>, <em>member</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.getParamWithToken" title="Permalink to this definition">¶</a></dt>
169<dd></dd></dl>
170
171<dl class="method">
172<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.is_fittable">
173<tt class="descname">is_fittable</tt><big>(</big><em>par_name</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.is_fittable" title="Permalink to this definition">¶</a></dt>
174<dd><p>Check if a given parameter is fittable or not</p>
175<table class="docutils field-list" frame="void" rules="none">
176<col class="field-name" />
177<col class="field-body" />
178<tbody valign="top">
179<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
180<li><strong>par_name</strong> &#8211; the parameter name to check</li>
181</ul>
182</td>
183</tr>
184</tbody>
185</table>
186</dd></dl>
187
188<dl class="attribute">
189<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.log">
190<tt class="descname">log</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.log" title="Permalink to this definition">¶</a></dt>
191<dd>Log</dd></dl>
192
193<dl class="attribute">
194<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.params">
195<tt class="descname">params</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.params" title="Permalink to this definition">¶</a></dt>
196<dd>Parameters</dd></dl>
197
198<dl class="attribute">
199<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.reset">
200<tt class="descname">reset</tt><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.reset" title="Permalink to this definition">¶</a></dt>
201<dd>Reset pair correlation</dd></dl>
202
203<dl class="method">
204<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.run">
205<tt class="descname">run</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.run" title="Permalink to this definition">¶</a></dt>
206<dd><p>Evaluate the model</p>
207<table class="docutils field-list" frame="void" rules="none">
208<col class="field-name" />
209<col class="field-body" />
210<tbody valign="top">
211<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
212<li><strong>x</strong> &#8211; input q, or [q,phi]</li>
213</ul>
214</td>
215</tr>
216<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">scattering function P(q)</p>
217</td>
218</tr>
219</tbody>
220</table>
221</dd></dl>
222
223<dl class="method">
224<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.runXY">
225<tt class="descname">runXY</tt><big>(</big><em>x=0.0</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.runXY" title="Permalink to this definition">¶</a></dt>
226<dd><p>Evaluate the model in cartesian coordinates</p>
227<table class="docutils field-list" frame="void" rules="none">
228<col class="field-name" />
229<col class="field-body" />
230<tbody valign="top">
231<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
232<li><strong>x</strong> &#8211; input q, or [qx, qy]</li>
233</ul>
234</td>
235</tr>
236<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">scattering function P(q)</p>
237</td>
238</tr>
239</tbody>
240</table>
241</dd></dl>
242
243<dl class="method">
244<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.setParam">
245<tt class="descname">setParam</tt><big>(</big><em>name</em>, <em>value</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.setParam" title="Permalink to this definition">¶</a></dt>
246<dd><p>Set the value of a model parameter</p>
247<table class="docutils field-list" frame="void" rules="none">
248<col class="field-name" />
249<col class="field-body" />
250<tbody valign="top">
251<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
252<li><strong>name</strong> &#8211; name of the parameter</li>
253<li><strong>value</strong> &#8211; value of the parameter</li>
254</ul>
255</td>
256</tr>
257</tbody>
258</table>
259</dd></dl>
260
261<dl class="method">
262<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.setParamWithToken">
263<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.HollowCylinderModel.HollowCylinderModel.setParamWithToken" title="Permalink to this definition">¶</a></dt>
264<dd></dd></dl>
265
266<dl class="method">
267<dt id="sans.models.HollowCylinderModel.HollowCylinderModel.set_dispersion">
268<tt class="descname">set_dispersion</tt><big>(</big><em>parameter</em>, <em>dispersion</em><big>)</big><a class="headerlink" href="#sans.models.HollowCylinderModel.HollowCylinderModel.set_dispersion" title="Permalink to this definition">¶</a></dt>
269<dd><p>Set the dispersion object for a model parameter</p>
270<table class="docutils field-list" frame="void" rules="none">
271<col class="field-name" />
272<col class="field-body" />
273<tbody valign="top">
274<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
275<li><strong>parameter</strong> &#8211; name of the parameter [string]</li>
276<li><strong>dispersion</strong> &#8211; dispersion object of type DispersionModel</li>
277</ul>
278</td>
279</tr>
280</tbody>
281</table>
282</dd></dl>
283
284</dd></dl>
285
286</div>
287</div>
288
289
290          </div>
291        </div>
292      </div>
293      <div class="sphinxsidebar">
294        <div class="sphinxsidebarwrapper">
295  <h3><a href="../index.html">Table Of Contents</a></h3>
296  <ul>
297<li><a class="reference internal" href="#">HollowCylinderModel</a><ul>
298<li><a class="reference internal" href="#module-sans.models.HollowCylinderModel"><tt class="docutils literal"><span class="pre">sans.models.HollowCylinderModel</span></tt></a></li>
299</ul>
300</li>
301</ul>
302
303  <h4>Previous topic</h4>
304  <p class="topless"><a href="HayterMSAStructure.html"
305                        title="previous chapter">HayterMSAStructure</a></p>
306  <h4>Next topic</h4>
307  <p class="topless"><a href="LamellarFFHGModel.html"
308                        title="next chapter">LamellarFFHGModel</a></p>
309  <h3>This Page</h3>
310  <ul class="this-page-menu">
311    <li><a href="../_sources/api/HollowCylinderModel.txt"
312           rel="nofollow">Show Source</a></li>
313  </ul>
314<div id="searchbox" style="display: none">
315  <h3>Quick search</h3>
316    <form class="search" action="../search.html" method="get">
317      <input type="text" name="q" size="18" />
318      <input type="submit" value="Go" />
319      <input type="hidden" name="check_keywords" value="yes" />
320      <input type="hidden" name="area" value="default" />
321    </form>
322    <p class="searchtip" style="font-size: 90%">
323    Enter search terms or a module, class or function name.
324    </p>
325</div>
326<script type="text/javascript">$('#searchbox').show(0);</script>
327        </div>
328      </div>
329      <div class="clearer"></div>
330    </div>
331    <div class="related">
332      <h3>Navigation</h3>
333      <ul>
334        <li class="right" style="margin-right: 10px">
335          <a href="../genindex.html" title="General Index"
336             >index</a></li>
337        <li class="right" >
338          <a href="../py-modindex.html" title="Python Module Index"
339             >modules</a> |</li>
340        <li class="right" >
341          <a href="LamellarFFHGModel.html" title="LamellarFFHGModel"
342             >next</a> |</li>
343        <li class="right" >
344          <a href="HayterMSAStructure.html" title="HayterMSAStructure"
345             >previous</a> |</li>
346        <li><a href="../index.html">sansmodels v0.1.0 documentation</a> &raquo;</li>
347          <li><a href="index.html" >Reference</a> &raquo;</li> 
348      </ul>
349    </div>
350    <div class="footer">
351        &copy; Copyright 2010, sans group.
352      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b1.
353    </div>
354  </body>
355</html>
Note: See TracBrowser for help on using the repository browser.