source: sasview/sansguiframe/docs/sphinx/html/api/data_manager.html @ bce8148

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

sphinx build

  • Property mode set to 100644
File size: 15.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
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>data_manager &mdash; guiframe 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="guiframe 0.1.0 documentation" href="../index.html" />
29    <link rel="up" title="Reference" href="index.html" />
30    <link rel="next" title="data_panel" href="data_panel.html" />
31    <link rel="prev" title="dataFitting" href="dataFitting.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="data_panel.html" title="data_panel"
45             accesskey="N">next</a> |</li>
46        <li class="right" >
47          <a href="dataFitting.html" title="dataFitting"
48             accesskey="P">previous</a> |</li>
49        <li><a href="../index.html">guiframe 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="data-manager">
60<h1>data_manager<a class="headerlink" href="#data-manager" title="Permalink to this headline">¶</a></h1>
61<div class="section" id="sans-guiframe-data-manager">
62<h2><a class="reference internal" href="#module-sans.guiframe.data_manager" title="sans.guiframe.data_manager"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.data_manager</span></tt></a><a class="headerlink" href="#sans-guiframe-data-manager" title="Permalink to this headline">¶</a></h2>
63<span class="target" id="module-sans.guiframe.data_manager"></span><p>This module manages all data loaded into the application. Data_manager makes
64available all data loaded  for the current perspective.</p>
65<p>All modules &#8220;creating Data&#8221; posts their data to data_manager .
66Data_manager  make these new data available for all other perspectives.</p>
67<dl class="class">
68<dt id="sans.guiframe.data_manager.DataManager">
69<em class="property">class </em><tt class="descclassname">sans.guiframe.data_manager.</tt><tt class="descname">DataManager</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager" title="Permalink to this definition">¶</a></dt>
70<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
71<p>Manage a list of data</p>
72<dl class="attribute">
73<dt id="sans.guiframe.data_manager.DataManager.__class__">
74<tt class="descname">__class__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__class__" title="Permalink to this definition">¶</a></dt>
75<dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">type</span></tt></p>
76</dd></dl>
77
78<dl class="attribute">
79<dt id="sans.guiframe.data_manager.DataManager.__delattr__">
80<tt class="descname">__delattr__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__delattr__" title="Permalink to this definition">¶</a></dt>
81<dd><p>x.__delattr__(&#8216;name&#8217;) &lt;==&gt; del x.name</p>
82</dd></dl>
83
84<dl class="attribute">
85<dt id="sans.guiframe.data_manager.DataManager.__dict__">
86<tt class="descname">__dict__</tt><em class="property"> = &lt;dictproxy object at 0x04892450&gt;</em><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__dict__" title="Permalink to this definition">¶</a></dt>
87<dd></dd></dl>
88
89<dl class="attribute">
90<dt id="sans.guiframe.data_manager.DataManager.__getattribute__">
91<tt class="descname">__getattribute__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__getattribute__" title="Permalink to this definition">¶</a></dt>
92<dd><p>x.__getattribute__(&#8216;name&#8217;) &lt;==&gt; x.name</p>
93</dd></dl>
94
95<dl class="attribute">
96<dt id="sans.guiframe.data_manager.DataManager.__hash__">
97<tt class="descname">__hash__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__hash__" title="Permalink to this definition">¶</a></dt>
98<dd><p>x.__hash__() &lt;==&gt; hash(x)</p>
99</dd></dl>
100
101<dl class="method">
102<dt id="sans.guiframe.data_manager.DataManager.__init__">
103<tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__init__" title="Permalink to this definition">¶</a></dt>
104<dd><p>Store opened path and data object created at the loading time
105:param auto_plot: if True the datamanager sends data to plotting</p>
106<blockquote>
107<div>plugin.</div></blockquote>
108<table class="docutils field-list" frame="void" rules="none">
109<col class="field-name" />
110<col class="field-body" />
111<tbody valign="top">
112<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>auto_set_data</strong> &#8211; if True the datamanager sends to the current</td>
113</tr>
114</tbody>
115</table>
116<p>perspective</p>
117</dd></dl>
118
119<dl class="attribute">
120<dt id="sans.guiframe.data_manager.DataManager.__module__">
121<tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.data_manager'</em><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__module__" title="Permalink to this definition">¶</a></dt>
122<dd></dd></dl>
123
124<dl class="staticmethod">
125<dt id="sans.guiframe.data_manager.DataManager.__new__">
126<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.guiframe.data_manager.DataManager.__new__" title="Permalink to this definition">¶</a></dt>
127<dd></dd></dl>
128
129<dl class="method">
130<dt id="sans.guiframe.data_manager.DataManager.__reduce__">
131<tt class="descname">__reduce__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__reduce__" title="Permalink to this definition">¶</a></dt>
132<dd><p>helper for pickle</p>
133</dd></dl>
134
135<dl class="method">
136<dt id="sans.guiframe.data_manager.DataManager.__reduce_ex__">
137<tt class="descname">__reduce_ex__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__reduce_ex__" title="Permalink to this definition">¶</a></dt>
138<dd><p>helper for pickle</p>
139</dd></dl>
140
141<dl class="attribute">
142<dt id="sans.guiframe.data_manager.DataManager.__repr__">
143<tt class="descname">__repr__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__repr__" title="Permalink to this definition">¶</a></dt>
144<dd><p>x.__repr__() &lt;==&gt; repr(x)</p>
145</dd></dl>
146
147<dl class="attribute">
148<dt id="sans.guiframe.data_manager.DataManager.__setattr__">
149<tt class="descname">__setattr__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__setattr__" title="Permalink to this definition">¶</a></dt>
150<dd><p>x.__setattr__(&#8216;name&#8217;, value) &lt;==&gt; x.name = value</p>
151</dd></dl>
152
153<dl class="method">
154<dt id="sans.guiframe.data_manager.DataManager.__str__">
155<tt class="descname">__str__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__str__" title="Permalink to this definition">¶</a></dt>
156<dd></dd></dl>
157
158<dl class="attribute">
159<dt id="sans.guiframe.data_manager.DataManager.__weakref__">
160<tt class="descname">__weakref__</tt><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.__weakref__" title="Permalink to this definition">¶</a></dt>
161<dd><p>list of weak references to the object (if defined)</p>
162</dd></dl>
163
164<dl class="method">
165<dt id="sans.guiframe.data_manager.DataManager.add_data">
166<tt class="descname">add_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.add_data" title="Permalink to this definition">¶</a></dt>
167<dd><p>receive a list of</p>
168</dd></dl>
169
170<dl class="method">
171<dt id="sans.guiframe.data_manager.DataManager.create_gui_data">
172<tt class="descname">create_gui_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.create_gui_data" title="Permalink to this definition">¶</a></dt>
173<dd><p>Receive data from loader and create a data to use for guiframe</p>
174</dd></dl>
175
176<dl class="method">
177<dt id="sans.guiframe.data_manager.DataManager.delete_by_id">
178<tt class="descname">delete_by_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_by_id" title="Permalink to this definition">¶</a></dt>
179<dd><p>save data and path</p>
180</dd></dl>
181
182<dl class="method">
183<dt id="sans.guiframe.data_manager.DataManager.delete_by_name">
184<tt class="descname">delete_by_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_by_name" title="Permalink to this definition">¶</a></dt>
185<dd><p>save data and path</p>
186</dd></dl>
187
188<dl class="method">
189<dt id="sans.guiframe.data_manager.DataManager.delete_data">
190<tt class="descname">delete_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_data" title="Permalink to this definition">¶</a></dt>
191<dd></dd></dl>
192
193<dl class="method">
194<dt id="sans.guiframe.data_manager.DataManager.delete_theory">
195<tt class="descname">delete_theory</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_theory" title="Permalink to this definition">¶</a></dt>
196<dd></dd></dl>
197
198<dl class="method">
199<dt id="sans.guiframe.data_manager.DataManager.freeze">
200<tt class="descname">freeze</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.freeze" title="Permalink to this definition">¶</a></dt>
201<dd></dd></dl>
202
203<dl class="method">
204<dt id="sans.guiframe.data_manager.DataManager.freeze_theory">
205<tt class="descname">freeze_theory</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.freeze_theory" title="Permalink to this definition">¶</a></dt>
206<dd></dd></dl>
207
208<dl class="method">
209<dt id="sans.guiframe.data_manager.DataManager.get_all_data">
210<tt class="descname">get_all_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_all_data" title="Permalink to this definition">¶</a></dt>
211<dd><p>return list of all available data</p>
212</dd></dl>
213
214<dl class="method">
215<dt id="sans.guiframe.data_manager.DataManager.get_by_id">
216<tt class="descname">get_by_id</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_by_id" title="Permalink to this definition">¶</a></dt>
217<dd></dd></dl>
218
219<dl class="method">
220<dt id="sans.guiframe.data_manager.DataManager.get_by_name">
221<tt class="descname">get_by_name</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_by_name" title="Permalink to this definition">¶</a></dt>
222<dd><p>return a list of data given a list of data names</p>
223</dd></dl>
224
225<dl class="method">
226<dt id="sans.guiframe.data_manager.DataManager.get_data_state">
227<tt class="descname">get_data_state</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_data_state" title="Permalink to this definition">¶</a></dt>
228<dd><p>Send list of selected data</p>
229</dd></dl>
230
231<dl class="method">
232<dt id="sans.guiframe.data_manager.DataManager.get_message">
233<tt class="descname">get_message</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_message" title="Permalink to this definition">¶</a></dt>
234<dd><p>return message</p>
235</dd></dl>
236
237<dl class="method">
238<dt id="sans.guiframe.data_manager.DataManager.rename">
239<tt class="descname">rename</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.rename" title="Permalink to this definition">¶</a></dt>
240<dd><p>rename data</p>
241</dd></dl>
242
243<dl class="method">
244<dt id="sans.guiframe.data_manager.DataManager.update_data">
245<tt class="descname">update_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.update_data" title="Permalink to this definition">¶</a></dt>
246<dd></dd></dl>
247
248<dl class="method">
249<dt id="sans.guiframe.data_manager.DataManager.update_theory">
250<tt class="descname">update_theory</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.update_theory" title="Permalink to this definition">¶</a></dt>
251<dd></dd></dl>
252
253</dd></dl>
254
255</div>
256</div>
257
258
259          </div>
260        </div>
261      </div>
262      <div class="sphinxsidebar">
263        <div class="sphinxsidebarwrapper">
264  <h3><a href="../index.html">Table Of Contents</a></h3>
265  <ul>
266<li><a class="reference internal" href="#">data_manager</a><ul>
267<li><a class="reference internal" href="#sans-guiframe-data-manager"><tt class="docutils literal"><span class="pre">sans.guiframe.data_manager</span></tt></a></li>
268</ul>
269</li>
270</ul>
271
272  <h4>Previous topic</h4>
273  <p class="topless"><a href="dataFitting.html"
274                        title="previous chapter">dataFitting</a></p>
275  <h4>Next topic</h4>
276  <p class="topless"><a href="data_panel.html"
277                        title="next chapter">data_panel</a></p>
278  <h3>This Page</h3>
279  <ul class="this-page-menu">
280    <li><a href="../_sources/api/data_manager.txt"
281           rel="nofollow">Show Source</a></li>
282  </ul>
283<div id="searchbox" style="display: none">
284  <h3>Quick search</h3>
285    <form class="search" action="../search.html" method="get">
286      <input type="text" name="q" />
287      <input type="submit" value="Go" />
288      <input type="hidden" name="check_keywords" value="yes" />
289      <input type="hidden" name="area" value="default" />
290    </form>
291    <p class="searchtip" style="font-size: 90%">
292    Enter search terms or a module, class or function name.
293    </p>
294</div>
295<script type="text/javascript">$('#searchbox').show(0);</script>
296        </div>
297      </div>
298      <div class="clearer"></div>
299    </div>
300    <div class="related">
301      <h3>Navigation</h3>
302      <ul>
303        <li class="right" style="margin-right: 10px">
304          <a href="../genindex.html" title="General Index"
305             >index</a></li>
306        <li class="right" >
307          <a href="../py-modindex.html" title="Python Module Index"
308             >modules</a> |</li>
309        <li class="right" >
310          <a href="data_panel.html" title="data_panel"
311             >next</a> |</li>
312        <li class="right" >
313          <a href="dataFitting.html" title="dataFitting"
314             >previous</a> |</li>
315        <li><a href="../index.html">guiframe 0.1.0 documentation</a> &raquo;</li>
316          <li><a href="index.html" >Reference</a> &raquo;</li> 
317      </ul>
318    </div>
319    <div class="footer">
320        &copy; Copyright 2010, sans group.
321      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.
322    </div>
323  </body>
324</html>
Note: See TracBrowser for help on using the repository browser.