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