[96cbb53] | 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 | |
---|
[bce8148] | 6 | |
---|
[96cbb53] | 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 8 | <head> |
---|
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 10 | |
---|
[bce8148] | 11 | <title>data_manager — guiframe 0.1.0 documentation</title> |
---|
| 12 | |
---|
[96cbb53] | 13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
[bce8148] | 15 | |
---|
[96cbb53] | 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> |
---|
[bce8148] | 28 | <link rel="top" title="guiframe 0.1.0 documentation" href="../index.html" /> |
---|
[96cbb53] | 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> |
---|
[bce8148] | 49 | <li><a href="../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
[96cbb53] | 50 | <li><a href="index.html" accesskey="U">Reference</a> »</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> |
---|
[bce8148] | 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 |
---|
[96cbb53] | 64 | available all data loaded for the current perspective.</p> |
---|
| 65 | <p>All modules “creating Data” posts their data to data_manager . |
---|
| 66 | Data_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> |
---|
[bce8148] | 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__(‘name’) <==> 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"> = <dictproxy object at 0x04892450></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__(‘name’) <==> 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__() <==> 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> – 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> → 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__() <==> 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__(‘name’, value) <==> 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 | |
---|
[96cbb53] | 164 | <dl class="method"> |
---|
| 165 | <dt id="sans.guiframe.data_manager.DataManager.add_data"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 191 | <dd></dd></dl> |
---|
| 192 | |
---|
| 193 | <dl class="method"> |
---|
| 194 | <dt id="sans.guiframe.data_manager.DataManager.delete_theory"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 196 | <dd></dd></dl> |
---|
| 197 | |
---|
| 198 | <dl class="method"> |
---|
| 199 | <dt id="sans.guiframe.data_manager.DataManager.freeze"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 201 | <dd></dd></dl> |
---|
| 202 | |
---|
| 203 | <dl class="method"> |
---|
| 204 | <dt id="sans.guiframe.data_manager.DataManager.freeze_theory"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 217 | <dd></dd></dl> |
---|
| 218 | |
---|
| 219 | <dl class="method"> |
---|
| 220 | <dt id="sans.guiframe.data_manager.DataManager.get_by_name"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 240 | <dd><p>rename data</p> |
---|
| 241 | </dd></dl> |
---|
| 242 | |
---|
| 243 | <dl class="method"> |
---|
| 244 | <dt id="sans.guiframe.data_manager.DataManager.update_data"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 246 | <dd></dd></dl> |
---|
| 247 | |
---|
| 248 | <dl class="method"> |
---|
| 249 | <dt id="sans.guiframe.data_manager.DataManager.update_theory"> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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> |
---|
[bce8148] | 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> |
---|
[96cbb53] | 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"> |
---|
[bce8148] | 286 | <input type="text" name="q" /> |
---|
[96cbb53] | 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> |
---|
[bce8148] | 315 | <li><a href="../index.html">guiframe 0.1.0 documentation</a> »</li> |
---|
[96cbb53] | 316 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 317 | </ul> |
---|
| 318 | </div> |
---|
| 319 | <div class="footer"> |
---|
| 320 | © Copyright 2010, sans group. |
---|
[bce8148] | 321 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
[96cbb53] | 322 | </div> |
---|
| 323 | </body> |
---|
| 324 | </html> |
---|