source: sasview/fittingview/docs/sphinx/html/api/perspectives/fitting/models.html @ 09e89b7

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 09e89b7 was 30d3a1b, checked in by Gervaise Alina <gervyh@…>, 13 years ago

edit doc

  • Property mode set to 100644
File size: 37.8 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
7<html xmlns="http://www.w3.org/1999/xhtml">
8  <head>
9    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10   
11    <title>models &mdash; sansview 0.1.0 documentation</title>
12   
13    <link rel="stylesheet" href="../../../_static/default.css" type="text/css" />
14    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
15   
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>
28    <link rel="top" title="sansview 0.1.0 documentation" href="../../../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="model_thread" href="model_thread.html" />
31    <link rel="prev" title="hint_fitpage" href="hint_fitpage.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="model_thread.html" title="model_thread"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="hint_fitpage.html" title="hint_fitpage"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../../../index.html">sansview 0.1.0 documentation</a> &raquo;</li>
50          <li><a href="index.html" accesskey="U">Reference</a> &raquo;</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="models">
60<h1>models<a class="headerlink" href="#models" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="sans-perspectives-fitting-models">
62<h2><a class="reference internal" href="#module-sans.perspectives.fitting.models" title="sans.perspectives.fitting.models"><tt class="xref py py-mod docutils literal"><span class="pre">sans.perspectives.fitting.models</span></tt></a><a class="headerlink" href="#sans-perspectives-fitting-models" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-sans.perspectives.fitting.models"></span><dl class="class">
64<dt id="sans.perspectives.fitting.models.ModelList">
65<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">ModelList</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList" title="Permalink to this definition">¶</a></dt>
66<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
67<p>Contains dictionary of model and their type</p>
68<dl class="attribute">
69<dt id="sans.perspectives.fitting.models.ModelList.__class__">
70<tt class="descname">__class__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__class__" title="Permalink to this definition">¶</a></dt>
71<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
72</dd></dl>
73
74<dl class="attribute">
75<dt id="sans.perspectives.fitting.models.ModelList.__delattr__">
76<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__delattr__" title="Permalink to this definition">¶</a></dt>
77<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
78</dd></dl>
79
80<dl class="attribute">
81<dt id="sans.perspectives.fitting.models.ModelList.__dict__">
82<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x08A12C90&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__dict__" title="Permalink to this definition">¶</a></dt>
83<dd></dd></dl>
84
85<dl class="attribute">
86<dt id="sans.perspectives.fitting.models.ModelList.__getattribute__">
87<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__getattribute__" title="Permalink to this definition">¶</a></dt>
88<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
89</dd></dl>
90
91<dl class="attribute">
92<dt id="sans.perspectives.fitting.models.ModelList.__hash__">
93<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__hash__" title="Permalink to this definition">¶</a></dt>
94<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
95</dd></dl>
96
97<dl class="method">
98<dt id="sans.perspectives.fitting.models.ModelList.__init__">
99<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__init__" title="Permalink to this definition">¶</a></dt>
100<dd></dd></dl>
101
102<dl class="attribute">
103<dt id="sans.perspectives.fitting.models.ModelList.__module__">
104<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.models'</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__module__" title="Permalink to this definition">¶</a></dt>
105<dd></dd></dl>
106
107<dl class="staticmethod">
108<dt id="sans.perspectives.fitting.models.ModelList.__new__">
109<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__new__" title="Permalink to this definition">¶</a></dt>
110<dd></dd></dl>
111
112<dl class="method">
113<dt id="sans.perspectives.fitting.models.ModelList.__reduce__">
114<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__reduce__" title="Permalink to this definition">¶</a></dt>
115<dd><p>helper for pickle</p>
116</dd></dl>
117
118<dl class="method">
119<dt id="sans.perspectives.fitting.models.ModelList.__reduce_ex__">
120<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
121<dd><p>helper for pickle</p>
122</dd></dl>
123
124<dl class="attribute">
125<dt id="sans.perspectives.fitting.models.ModelList.__repr__">
126<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__repr__" title="Permalink to this definition">¶</a></dt>
127<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
128</dd></dl>
129
130<dl class="attribute">
131<dt id="sans.perspectives.fitting.models.ModelList.__setattr__">
132<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__setattr__" title="Permalink to this definition">¶</a></dt>
133<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
134</dd></dl>
135
136<dl class="attribute">
137<dt id="sans.perspectives.fitting.models.ModelList.__str__">
138<tt class="descname">__str__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__str__" title="Permalink to this definition">¶</a></dt>
139<dd><p>x.__str__() &lt;==&gt; str(x)</p>
140</dd></dl>
141
142<dl class="attribute">
143<dt id="sans.perspectives.fitting.models.ModelList.__weakref__">
144<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.__weakref__" title="Permalink to this definition">¶</a></dt>
145<dd><p>list of weak references to the object (if defined)</p>
146</dd></dl>
147
148<dl class="method">
149<dt id="sans.perspectives.fitting.models.ModelList.get_list">
150<tt class="descname">get_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.get_list" title="Permalink to this definition">¶</a></dt>
151<dd><p>return all the list stored in a dictionary object</p>
152</dd></dl>
153
154<dl class="method">
155<dt id="sans.perspectives.fitting.models.ModelList.set_list">
156<tt class="descname">set_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelList.set_list" title="Permalink to this definition">¶</a></dt>
157<dd><table class="docutils field-list" frame="void" rules="none">
158<col class="field-name" />
159<col class="field-body" />
160<tbody valign="top">
161<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
162<li><strong>name</strong> &#8211; the type of the list</li>
163<li><strong>mylist</strong> &#8211; the list to add</li>
164</ul>
165</td>
166</tr>
167</tbody>
168</table>
169</dd></dl>
170
171</dd></dl>
172
173<dl class="class">
174<dt id="sans.perspectives.fitting.models.ModelManager">
175<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">ModelManager</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager" title="Permalink to this definition">¶</a></dt>
176<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
177<p>implement model</p>
178<dl class="attribute">
179<dt id="sans.perspectives.fitting.models.ModelManager._ModelManager__modelmanager">
180<tt class="descname">_ModelManager__modelmanager</tt><em class="property"> = &lt;sans.perspectives.fitting.models.ModelManagerBase instance at 0x02446A30&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager._ModelManager__modelmanager" title="Permalink to this definition">¶</a></dt>
181<dd></dd></dl>
182
183<dl class="attribute">
184<dt id="sans.perspectives.fitting.models.ModelManager.__class__">
185<tt class="descname">__class__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__class__" title="Permalink to this definition">¶</a></dt>
186<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
187</dd></dl>
188
189<dl class="attribute">
190<dt id="sans.perspectives.fitting.models.ModelManager.__delattr__">
191<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__delattr__" title="Permalink to this definition">¶</a></dt>
192<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
193</dd></dl>
194
195<dl class="attribute">
196<dt id="sans.perspectives.fitting.models.ModelManager.__dict__">
197<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x08A03090&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__dict__" title="Permalink to this definition">¶</a></dt>
198<dd></dd></dl>
199
200<dl class="attribute">
201<dt id="sans.perspectives.fitting.models.ModelManager.__getattribute__">
202<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__getattribute__" title="Permalink to this definition">¶</a></dt>
203<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
204</dd></dl>
205
206<dl class="attribute">
207<dt id="sans.perspectives.fitting.models.ModelManager.__hash__">
208<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__hash__" title="Permalink to this definition">¶</a></dt>
209<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
210</dd></dl>
211
212<dl class="attribute">
213<dt id="sans.perspectives.fitting.models.ModelManager.__init__">
214<tt class="descname">__init__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__init__" title="Permalink to this definition">¶</a></dt>
215<dd><p>x.__init__(...) initializes x; see x.__class__.__doc__ for signature</p>
216</dd></dl>
217
218<dl class="attribute">
219<dt id="sans.perspectives.fitting.models.ModelManager.__module__">
220<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.models'</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__module__" title="Permalink to this definition">¶</a></dt>
221<dd></dd></dl>
222
223<dl class="staticmethod">
224<dt id="sans.perspectives.fitting.models.ModelManager.__new__">
225<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> &rarr; a new object with type S, a subtype of T<a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__new__" title="Permalink to this definition">¶</a></dt>
226<dd></dd></dl>
227
228<dl class="method">
229<dt id="sans.perspectives.fitting.models.ModelManager.__reduce__">
230<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__reduce__" title="Permalink to this definition">¶</a></dt>
231<dd><p>helper for pickle</p>
232</dd></dl>
233
234<dl class="method">
235<dt id="sans.perspectives.fitting.models.ModelManager.__reduce_ex__">
236<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
237<dd><p>helper for pickle</p>
238</dd></dl>
239
240<dl class="attribute">
241<dt id="sans.perspectives.fitting.models.ModelManager.__repr__">
242<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__repr__" title="Permalink to this definition">¶</a></dt>
243<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
244</dd></dl>
245
246<dl class="attribute">
247<dt id="sans.perspectives.fitting.models.ModelManager.__setattr__">
248<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__setattr__" title="Permalink to this definition">¶</a></dt>
249<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
250</dd></dl>
251
252<dl class="attribute">
253<dt id="sans.perspectives.fitting.models.ModelManager.__str__">
254<tt class="descname">__str__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__str__" title="Permalink to this definition">¶</a></dt>
255<dd><p>x.__str__() &lt;==&gt; str(x)</p>
256</dd></dl>
257
258<dl class="attribute">
259<dt id="sans.perspectives.fitting.models.ModelManager.__weakref__">
260<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.__weakref__" title="Permalink to this definition">¶</a></dt>
261<dd><p>list of weak references to the object (if defined)</p>
262</dd></dl>
263
264<dl class="method">
265<dt id="sans.perspectives.fitting.models.ModelManager._getModelList">
266<tt class="descname">_getModelList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager._getModelList" title="Permalink to this definition">¶</a></dt>
267<dd></dd></dl>
268
269<dl class="method">
270<dt id="sans.perspectives.fitting.models.ModelManager._get_multifunc_models">
271<tt class="descname">_get_multifunc_models</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager._get_multifunc_models" title="Permalink to this definition">¶</a></dt>
272<dd></dd></dl>
273
274<dl class="method">
275<dt id="sans.perspectives.fitting.models.ModelManager._on_model">
276<tt class="descname">_on_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager._on_model" title="Permalink to this definition">¶</a></dt>
277<dd></dd></dl>
278
279<dl class="method">
280<dt id="sans.perspectives.fitting.models.ModelManager.findModels">
281<tt class="descname">findModels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.findModels" title="Permalink to this definition">¶</a></dt>
282<dd></dd></dl>
283
284<dl class="method">
285<dt id="sans.perspectives.fitting.models.ModelManager.get_model_list">
286<tt class="descname">get_model_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.get_model_list" title="Permalink to this definition">¶</a></dt>
287<dd></dd></dl>
288
289<dl class="method">
290<dt id="sans.perspectives.fitting.models.ModelManager.is_changed">
291<tt class="descname">is_changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.is_changed" title="Permalink to this definition">¶</a></dt>
292<dd></dd></dl>
293
294<dl class="method">
295<dt id="sans.perspectives.fitting.models.ModelManager.populate_menu">
296<tt class="descname">populate_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.populate_menu" title="Permalink to this definition">¶</a></dt>
297<dd></dd></dl>
298
299<dl class="method">
300<dt id="sans.perspectives.fitting.models.ModelManager.update">
301<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManager.update" title="Permalink to this definition">¶</a></dt>
302<dd></dd></dl>
303
304</dd></dl>
305
306<dl class="class">
307<dt id="sans.perspectives.fitting.models.ModelManagerBase">
308<em class="property">class </em><tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">ModelManagerBase</tt><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase" title="Permalink to this definition">¶</a></dt>
309<dd><dl class="method">
310<dt id="sans.perspectives.fitting.models.ModelManagerBase.__init__">
311<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.__init__" title="Permalink to this definition">¶</a></dt>
312<dd></dd></dl>
313
314<dl class="attribute">
315<dt id="sans.perspectives.fitting.models.ModelManagerBase.__module__">
316<tt class="descname">__module__</tt><em class="property"> = 'sans.perspectives.fitting.models'</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.__module__" title="Permalink to this definition">¶</a></dt>
317<dd></dd></dl>
318
319<dl class="method">
320<dt id="sans.perspectives.fitting.models.ModelManagerBase._fill_menu">
321<tt class="descname">_fill_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._fill_menu" title="Permalink to this definition">¶</a></dt>
322<dd><p>Fill the menu with list item</p>
323<table class="docutils field-list" frame="void" rules="none">
324<col class="field-name" />
325<col class="field-body" />
326<tbody valign="top">
327<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
328<li><strong>menuinfo</strong> &#8211; submenu item for the first column of this modelmenu
329with info.Should be a list :
330[name(string) , menu(wx.menu), help(string)]</li>
331<li><strong>list1</strong> &#8211; contains item (form factor )to fill modelmenu second column</li>
332<li><strong>list2</strong> &#8211; contains item (Structure factor )to fill modelmenu
333third column</li>
334</ul>
335</td>
336</tr>
337</tbody>
338</table>
339</dd></dl>
340
341<dl class="method">
342<dt id="sans.perspectives.fitting.models.ModelManagerBase._fill_plugin_menu">
343<tt class="descname">_fill_plugin_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._fill_plugin_menu" title="Permalink to this definition">¶</a></dt>
344<dd><p>fill the plugin menu with costumized models</p>
345</dd></dl>
346
347<dl class="method">
348<dt id="sans.perspectives.fitting.models.ModelManagerBase._fill_simple_menu">
349<tt class="descname">_fill_simple_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._fill_simple_menu" title="Permalink to this definition">¶</a></dt>
350<dd><p>Fill the menu with list item</p>
351<table class="docutils field-list" frame="void" rules="none">
352<col class="field-name" />
353<col class="field-body" />
354<tbody valign="top">
355<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
356<li><strong>modelmenu</strong> &#8211; the menu to fill</li>
357<li><strong>menuinfo</strong> &#8211; submenu item for the first column of this modelmenu
358with info.Should be a list :
359[name(string) , menu(wx.menu), help(string)]</li>
360<li><strong>list1</strong> &#8211; contains item (form factor )to fill modelmenu second column</li>
361</ul>
362</td>
363</tr>
364</tbody>
365</table>
366</dd></dl>
367
368<dl class="method">
369<dt id="sans.perspectives.fitting.models.ModelManagerBase._getModelList">
370<tt class="descname">_getModelList</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._getModelList" title="Permalink to this definition">¶</a></dt>
371<dd><p>List of models we want to make available by default
372for this application</p>
373<table class="docutils field-list" frame="void" rules="none">
374<col class="field-name" />
375<col class="field-body" />
376<tbody valign="top">
377<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the next free event ID following the new menu events</td>
378</tr>
379</tbody>
380</table>
381</dd></dl>
382
383<dl class="method">
384<dt id="sans.perspectives.fitting.models.ModelManagerBase._get_multifunc_models">
385<tt class="descname">_get_multifunc_models</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._get_multifunc_models" title="Permalink to this definition">¶</a></dt>
386<dd><p>Get the multifunctional models</p>
387</dd></dl>
388
389<dl class="method">
390<dt id="sans.perspectives.fitting.models.ModelManagerBase._on_model">
391<tt class="descname">_on_model</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase._on_model" title="Permalink to this definition">¶</a></dt>
392<dd><p>React to a model menu event</p>
393<table class="docutils field-list" frame="void" rules="none">
394<col class="field-name" />
395<col class="field-body" />
396<tbody valign="top">
397<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx menu event</td>
398</tr>
399</tbody>
400</table>
401</dd></dl>
402
403<dl class="attribute">
404<dt id="sans.perspectives.fitting.models.ModelManagerBase.event_owner">
405<tt class="descname">event_owner</tt><em class="property"> = None</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.event_owner" title="Permalink to this definition">¶</a></dt>
406<dd></dd></dl>
407
408<dl class="method">
409<dt id="sans.perspectives.fitting.models.ModelManagerBase.findModels">
410<tt class="descname">findModels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.findModels" title="Permalink to this definition">¶</a></dt>
411<dd><p>find  plugin model in directory of plugin .recompile all file
412in the directory if file were modified</p>
413</dd></dl>
414
415<dl class="attribute">
416<dt id="sans.perspectives.fitting.models.ModelManagerBase.form_factor_dict">
417<tt class="descname">form_factor_dict</tt><em class="property"> = {'100': [&lt;class 'sans.models.SphereModel.SphereModel'&gt;]}</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.form_factor_dict" title="Permalink to this definition">¶</a></dt>
418<dd></dd></dl>
419
420<dl class="method">
421<dt id="sans.perspectives.fitting.models.ModelManagerBase.get_model_list">
422<tt class="descname">get_model_list</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.get_model_list" title="Permalink to this definition">¶</a></dt>
423<dd><p>return dictionary of models for fitpanel use</p>
424</dd></dl>
425
426<dl class="method">
427<dt id="sans.perspectives.fitting.models.ModelManagerBase.is_changed">
428<tt class="descname">is_changed</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.is_changed" title="Permalink to this definition">¶</a></dt>
429<dd><p>check the last time the plugin dir has changed and return true
430is the directory was modified else return false</p>
431</dd></dl>
432
433<dl class="attribute">
434<dt id="sans.perspectives.fitting.models.ModelManagerBase.last_time_dir_modified">
435<tt class="descname">last_time_dir_modified</tt><em class="property"> = 0</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.last_time_dir_modified" title="Permalink to this definition">¶</a></dt>
436<dd></dd></dl>
437
438<dl class="attribute">
439<dt id="sans.perspectives.fitting.models.ModelManagerBase.model_combobox">
440<tt class="descname">model_combobox</tt><em class="property"> = &lt;sans.perspectives.fitting.models.ModelList object at 0x02449270&gt;</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.model_combobox" title="Permalink to this definition">¶</a></dt>
441<dd></dd></dl>
442
443<dl class="attribute">
444<dt id="sans.perspectives.fitting.models.ModelManagerBase.multi_func_list">
445<tt class="descname">multi_func_list</tt><em class="property"> = [&lt;class sans.models.CoreMultiShellModel.CoreMultiShellModel at 0x024613F0&gt;, &lt;class sans.models.OnionExpShellModel.OnionExpShellModel at 0x02461930&gt;, &lt;class sans.models.SphericalSLDModel.SphericalSLDModel at 0x02461B40&gt;, &lt;class sans.models.RPA10Model.RPA10Model at 0x02516D80&gt;, &lt;class sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel at 0x0252A210&gt;, &lt;class sans.models.ReflectivityModel.ReflectivityModel at 0x0252A480&gt;, &lt;class sans.models.ReflectivityIIModel.ReflectivityIIModel at 0x0252A750&gt;]</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.multi_func_list" title="Permalink to this definition">¶</a></dt>
446<dd></dd></dl>
447
448<dl class="attribute">
449<dt id="sans.perspectives.fitting.models.ModelManagerBase.multiplication_factor">
450<tt class="descname">multiplication_factor</tt><em class="property"> = [&lt;class 'sans.models.SphereModel.SphereModel'&gt;, &lt;class 'sans.models.FuzzySphereModel.FuzzySphereModel'&gt;, &lt;class 'sans.models.CoreShellModel.CoreShellModel'&gt;, &lt;class sans.models.CoreMultiShellModel.CoreMultiShellModel at 0x024613F0&gt;, &lt;class 'sans.models.VesicleModel.VesicleModel'&gt;, &lt;class 'sans.models.MultiShellModel.MultiShellModel'&gt;, &lt;class sans.models.OnionExpShellModel.OnionExpShellModel at 0x02461930&gt;, &lt;class sans.models.SphericalSLDModel.SphericalSLDModel at 0x02461B40&gt;, &lt;class 'sans.models.CylinderModel.CylinderModel'&gt;, &lt;class 'sans.models.CoreShellCylinderModel.CoreShellCylinderModel'&gt;, &lt;class 'sans.models.HollowCylinderModel.HollowCylinderModel'&gt;, &lt;class 'sans.models.StackedDisksModel.StackedDisksModel'&gt;, &lt;class 'sans.models.ParallelepipedModel.ParallelepipedModel'&gt;, &lt;class 'sans.models.CSParallelepipedModel.CSParallelepipedModel'&gt;, &lt;class 'sans.models.EllipticalCylinderModel.EllipticalCylinderModel'&gt;, &lt;class 'sans.models.EllipsoidModel.EllipsoidModel'&gt;, &lt;class 'sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel'&gt;, &lt;class 'sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel'&gt;]</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.multiplication_factor" title="Permalink to this definition">¶</a></dt>
451<dd></dd></dl>
452
453<dl class="attribute">
454<dt id="sans.perspectives.fitting.models.ModelManagerBase.plugins">
455<tt class="descname">plugins</tt><em class="property"> = []</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.plugins" title="Permalink to this definition">¶</a></dt>
456<dd></dd></dl>
457
458<dl class="method">
459<dt id="sans.perspectives.fitting.models.ModelManagerBase.populate_menu">
460<tt class="descname">populate_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.populate_menu" title="Permalink to this definition">¶</a></dt>
461<dd><p>Populate a menu with our models</p>
462<table class="docutils field-list" frame="void" rules="none">
463<col class="field-name" />
464<col class="field-body" />
465<tbody valign="top">
466<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
467<li><strong>id</strong> &#8211; first menu event ID to use when binding the menu events</li>
468<li><strong>modelmenu</strong> &#8211; wx.Menu object to populate</li>
469<li><strong>event_owner</strong> &#8211; wx object to bind the menu events to</li>
470</ul>
471</td>
472</tr>
473<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">the next free event ID following the new menu events</p>
474</td>
475</tr>
476</tbody>
477</table>
478</dd></dl>
479
480<dl class="attribute">
481<dt id="sans.perspectives.fitting.models.ModelManagerBase.shape_indep_list">
482<tt class="descname">shape_indep_list</tt><em class="property"> = [&lt;class sans.models.PowerLawAbsModel.PowerLawAbsModel at 0x02487D80&gt;, &lt;class sans.models.BEPolyelectrolyte.BEPolyelectrolyte at 0x02487DE0&gt;, &lt;class sans.models.BroadPeakModel.BroadPeakModel at 0x02487E10&gt;, &lt;class sans.models.CorrLengthModel.CorrLengthModel at 0x02487E40&gt;, &lt;class sans.models.DABModel.DABModel at 0x02487ED0&gt;, &lt;class sans.models.DebyeModel.DebyeModel at 0x02487F60&gt;, &lt;class 'sans.models.FractalModel.FractalModel'&gt;, &lt;class sans.models.FractalCoreShellModel.FractalCoreShellModel at 0x024B0DB0&gt;, &lt;class sans.models.GaussLorentzGelModel.GaussLorentzGelModel at 0x02516690&gt;, &lt;class sans.models.GuinierModel.GuinierModel at 0x02516750&gt;, &lt;class sans.models.GuinierPorodModel.GuinierPorodModel at 0x02516780&gt;, &lt;class sans.models.LorentzModel.LorentzModel at 0x02516840&gt;, &lt;class sans.models.PeakGaussModel.PeakGaussModel at 0x025168D0&gt;, &lt;class sans.models.PeakLorentzModel.PeakLorentzModel at 0x02516960&gt;, &lt;class 'sans.models.Poly_GaussCoil.Poly_GaussCoil'&gt;, &lt;class sans.models.PolymerExclVolume.PolymerExclVolume at 0x02516AB0&gt;, &lt;class sans.models.PorodModel.PorodModel at 0x02516BD0&gt;, &lt;class sans.models.RPA10Model.RPA10Model at 0x02516D80&gt;, &lt;class sans.models.TeubnerStreyModel.TeubnerStreyModel at 0x02516F00&gt;, &lt;class sans.models.TwoLorentzianModel.TwoLorentzianModel at 0x02516F60&gt;, &lt;class sans.models.TwoPowerLawModel.TwoPowerLawModel at 0x02516FC0&gt;, &lt;class sans.models.UnifiedPowerRgModel.UnifiedPowerRgModel at 0x0252A210&gt;, &lt;class sans.models.LineModel.LineModel at 0x0252A2D0&gt;]</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.shape_indep_list" title="Permalink to this definition">¶</a></dt>
483<dd></dd></dl>
484
485<dl class="attribute">
486<dt id="sans.perspectives.fitting.models.ModelManagerBase.shape_list">
487<tt class="descname">shape_list</tt><em class="property"> = [&lt;class 'sans.models.SphereModel.SphereModel'&gt;, &lt;class 'sans.models.BinaryHSModel.BinaryHSModel'&gt;, &lt;class 'sans.models.FuzzySphereModel.FuzzySphereModel'&gt;, &lt;class 'sans.models.CoreShellModel.CoreShellModel'&gt;, &lt;class sans.models.CoreMultiShellModel.CoreMultiShellModel at 0x024613F0&gt;, &lt;class 'sans.models.VesicleModel.VesicleModel'&gt;, &lt;class 'sans.models.MultiShellModel.MultiShellModel'&gt;, &lt;class sans.models.OnionExpShellModel.OnionExpShellModel at 0x02461930&gt;, &lt;class sans.models.SphericalSLDModel.SphericalSLDModel at 0x02461B40&gt;, &lt;class 'sans.models.PearlNecklaceModel.PearlNecklaceModel'&gt;, &lt;class 'sans.models.CylinderModel.CylinderModel'&gt;, &lt;class 'sans.models.CoreShellCylinderModel.CoreShellCylinderModel'&gt;, &lt;class 'sans.models.HollowCylinderModel.HollowCylinderModel'&gt;, &lt;class 'sans.models.FlexibleCylinderModel.FlexibleCylinderModel'&gt;, &lt;class 'sans.models.FlexCylEllipXModel.FlexCylEllipXModel'&gt;, &lt;class 'sans.models.StackedDisksModel.StackedDisksModel'&gt;, &lt;class 'sans.models.ParallelepipedModel.ParallelepipedModel'&gt;, &lt;class 'sans.models.CSParallelepipedModel.CSParallelepipedModel'&gt;, &lt;class 'sans.models.EllipticalCylinderModel.EllipticalCylinderModel'&gt;, &lt;class 'sans.models.BarBellModel.BarBellModel'&gt;, &lt;class 'sans.models.CappedCylinderModel.CappedCylinderModel'&gt;, &lt;class 'sans.models.EllipsoidModel.EllipsoidModel'&gt;, &lt;class 'sans.models.CoreShellEllipsoidModel.CoreShellEllipsoidModel'&gt;, &lt;class 'sans.models.TriaxialEllipsoidModel.TriaxialEllipsoidModel'&gt;, &lt;class 'sans.models.LamellarModel.LamellarModel'&gt;, &lt;class 'sans.models.LamellarFFHGModel.LamellarFFHGModel'&gt;, &lt;class 'sans.models.LamellarPSModel.LamellarPSModel'&gt;, &lt;class 'sans.models.LamellarPSHGModel.LamellarPSHGModel'&gt;, &lt;class 'sans.models.LamellarPCrystalModel.LamellarPCrystalModel'&gt;, &lt;class 'sans.models.SCCrystalModel.SCCrystalModel'&gt;, &lt;class 'sans.models.FCCrystalModel.FCCrystalModel'&gt;, &lt;class 'sans.models.BCCrystalModel.BCCrystalModel'&gt;]</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.shape_list" title="Permalink to this definition">¶</a></dt>
488<dd></dd></dl>
489
490<dl class="attribute">
491<dt id="sans.perspectives.fitting.models.ModelManagerBase.struct_factor_dict">
492<tt class="descname">struct_factor_dict</tt><em class="property"> = {}</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.struct_factor_dict" title="Permalink to this definition">¶</a></dt>
493<dd></dd></dl>
494
495<dl class="attribute">
496<dt id="sans.perspectives.fitting.models.ModelManagerBase.struct_list">
497<tt class="descname">struct_list</tt><em class="property"> = [&lt;class 'sans.models.SquareWellStructure.SquareWellStructure'&gt;, &lt;class 'sans.models.HardsphereStructure.HardsphereStructure'&gt;, &lt;class 'sans.models.StickyHSStructure.StickyHSStructure'&gt;, &lt;class 'sans.models.HayterMSAStructure.HayterMSAStructure'&gt;]</em><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.struct_list" title="Permalink to this definition">¶</a></dt>
498<dd></dd></dl>
499
500<dl class="method">
501<dt id="sans.perspectives.fitting.models.ModelManagerBase.update">
502<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.ModelManagerBase.update" title="Permalink to this definition">¶</a></dt>
503<dd><p>return a dictionary of model if
504new models were added else return empty dictionary</p>
505</dd></dl>
506
507</dd></dl>
508
509<dl class="function">
510<dt id="sans.perspectives.fitting.models._check_plugin">
511<tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">_check_plugin</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models._check_plugin" title="Permalink to this definition">¶</a></dt>
512<dd><p>Do some checking before model adding plugins in the list</p>
513<table class="docutils field-list" frame="void" rules="none">
514<col class="field-name" />
515<col class="field-body" />
516<tbody valign="top">
517<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>model</strong> &#8211; class model to add into the plugin list</td>
518</tr>
519</tbody>
520</table>
521<p>:param name:name of the module plugin</p>
522<table class="docutils field-list" frame="void" rules="none">
523<col class="field-name" />
524<col class="field-body" />
525<tbody valign="top">
526<tr class="field-odd field"><th class="field-name">Return model:</th><td class="field-body">model if valid model or None if not valid</td>
527</tr>
528</tbody>
529</table>
530</dd></dl>
531
532<dl class="function">
533<dt id="sans.perspectives.fitting.models._findModels">
534<tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">_findModels</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models._findModels" title="Permalink to this definition">¶</a></dt>
535<dd></dd></dl>
536
537<dl class="function">
538<dt id="sans.perspectives.fitting.models.log">
539<tt class="descclassname">sans.perspectives.fitting.models.</tt><tt class="descname">log</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.perspectives.fitting.models.log" title="Permalink to this definition">¶</a></dt>
540<dd></dd></dl>
541
542</div>
543</div>
544
545
546          </div>
547        </div>
548      </div>
549      <div class="sphinxsidebar">
550        <div class="sphinxsidebarwrapper">
551  <h3><a href="../../../index.html">Table Of Contents</a></h3>
552  <ul>
553<li><a class="reference internal" href="#">models</a><ul>
554<li><a class="reference internal" href="#sans-perspectives-fitting-models"><tt class="docutils literal"><span class="pre">sans.perspectives.fitting.models</span></tt></a></li>
555</ul>
556</li>
557</ul>
558
559  <h4>Previous topic</h4>
560  <p class="topless"><a href="hint_fitpage.html"
561                        title="previous chapter">hint_fitpage</a></p>
562  <h4>Next topic</h4>
563  <p class="topless"><a href="model_thread.html"
564                        title="next chapter">model_thread</a></p>
565  <h3>This Page</h3>
566  <ul class="this-page-menu">
567    <li><a href="../../../_sources/api/perspectives/fitting/models.txt"
568           rel="nofollow">Show Source</a></li>
569  </ul>
570<div id="searchbox" style="display: none">
571  <h3>Quick search</h3>
572    <form class="search" action="../../../search.html" method="get">
573      <input type="text" name="q" />
574      <input type="submit" value="Go" />
575      <input type="hidden" name="check_keywords" value="yes" />
576      <input type="hidden" name="area" value="default" />
577    </form>
578    <p class="searchtip" style="font-size: 90%">
579    Enter search terms or a module, class or function name.
580    </p>
581</div>
582<script type="text/javascript">$('#searchbox').show(0);</script>
583        </div>
584      </div>
585      <div class="clearer"></div>
586    </div>
587    <div class="related">
588      <h3>Navigation</h3>
589      <ul>
590        <li class="right" style="margin-right: 10px">
591          <a href="../../../genindex.html" title="General Index"
592             >index</a></li>
593        <li class="right" >
594          <a href="../../../py-modindex.html" title="Python Module Index"
595             >modules</a> |</li>
596        <li class="right" >
597          <a href="model_thread.html" title="model_thread"
598             >next</a> |</li>
599        <li class="right" >
600          <a href="hint_fitpage.html" title="hint_fitpage"
601             >previous</a> |</li>
602        <li><a href="../../../index.html">sansview 0.1.0 documentation</a> &raquo;</li>
603          <li><a href="index.html" >Reference</a> &raquo;</li> 
604      </ul>
605    </div>
606    <div class="footer">
607        &copy; Copyright 2010, sans group.
608      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
609    </div>
610  </body>
611</html>
Note: See TracBrowser for help on using the repository browser.