[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 | |
---|
| 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>data_manager — guiframe 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="guiframe v0.1.0 documentation" href="../index.html" /> |
---|
| 26 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 27 | <link rel="next" title="data_panel" href="data_panel.html" /> |
---|
| 28 | <link rel="prev" title="dataFitting" href="dataFitting.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="data_panel.html" title="data_panel" |
---|
| 42 | accesskey="N">next</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="dataFitting.html" title="dataFitting" |
---|
| 45 | accesskey="P">previous</a> |</li> |
---|
| 46 | <li><a href="../index.html">guiframe 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="data-manager"> |
---|
| 57 | <h1>data_manager<a class="headerlink" href="#data-manager" title="Permalink to this headline">¶</a></h1> |
---|
| 58 | <div class="section" id="module-sans.guiframe.data_manager"> |
---|
| 59 | <span id="sans-guiframe-data-manager"></span><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="#module-sans.guiframe.data_manager" title="Permalink to this headline">¶</a></h2> |
---|
| 60 | <p>This module manages all data loaded into the application. Data_manager makes |
---|
| 61 | available all data loaded for the current perspective.</p> |
---|
| 62 | <p>All modules “creating Data” posts their data to data_manager . |
---|
| 63 | Data_manager make these new data available for all other perspectives.</p> |
---|
| 64 | <dl class="class"> |
---|
| 65 | <dt id="sans.guiframe.data_manager.DataManager"> |
---|
| 66 | <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> |
---|
| 67 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
| 68 | <p>Manage a list of data</p> |
---|
| 69 | <dl class="method"> |
---|
| 70 | <dt id="sans.guiframe.data_manager.DataManager.add_data"> |
---|
| 71 | <tt class="descname">add_data</tt><big>(</big><em>data_list</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.add_data" title="Permalink to this definition">¶</a></dt> |
---|
| 72 | <dd><p>receive a list of</p> |
---|
| 73 | </dd></dl> |
---|
| 74 | |
---|
| 75 | <dl class="method"> |
---|
| 76 | <dt id="sans.guiframe.data_manager.DataManager.create_gui_data"> |
---|
| 77 | <tt class="descname">create_gui_data</tt><big>(</big><em>data</em>, <em>path=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.create_gui_data" title="Permalink to this definition">¶</a></dt> |
---|
| 78 | <dd><p>Receive data from loader and create a data to use for guiframe</p> |
---|
| 79 | </dd></dl> |
---|
| 80 | |
---|
| 81 | <dl class="method"> |
---|
| 82 | <dt id="sans.guiframe.data_manager.DataManager.delete_by_id"> |
---|
| 83 | <tt class="descname">delete_by_id</tt><big>(</big><em>id_list=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_by_id" title="Permalink to this definition">¶</a></dt> |
---|
| 84 | <dd><p>save data and path</p> |
---|
| 85 | </dd></dl> |
---|
| 86 | |
---|
| 87 | <dl class="method"> |
---|
| 88 | <dt id="sans.guiframe.data_manager.DataManager.delete_by_name"> |
---|
| 89 | <tt class="descname">delete_by_name</tt><big>(</big><em>name_list=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_by_name" title="Permalink to this definition">¶</a></dt> |
---|
| 90 | <dd><p>save data and path</p> |
---|
| 91 | </dd></dl> |
---|
| 92 | |
---|
| 93 | <dl class="method"> |
---|
| 94 | <dt id="sans.guiframe.data_manager.DataManager.delete_data"> |
---|
| 95 | <tt class="descname">delete_data</tt><big>(</big><em>data_id</em>, <em>theory_id=None</em>, <em>delete_all=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_data" title="Permalink to this definition">¶</a></dt> |
---|
| 96 | <dd></dd></dl> |
---|
| 97 | |
---|
| 98 | <dl class="method"> |
---|
| 99 | <dt id="sans.guiframe.data_manager.DataManager.delete_theory"> |
---|
| 100 | <tt class="descname">delete_theory</tt><big>(</big><em>data_id</em>, <em>theory_id</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.delete_theory" title="Permalink to this definition">¶</a></dt> |
---|
| 101 | <dd></dd></dl> |
---|
| 102 | |
---|
| 103 | <dl class="method"> |
---|
| 104 | <dt id="sans.guiframe.data_manager.DataManager.freeze"> |
---|
| 105 | <tt class="descname">freeze</tt><big>(</big><em>theory_id</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.freeze" title="Permalink to this definition">¶</a></dt> |
---|
| 106 | <dd></dd></dl> |
---|
| 107 | |
---|
| 108 | <dl class="method"> |
---|
| 109 | <dt id="sans.guiframe.data_manager.DataManager.freeze_theory"> |
---|
| 110 | <tt class="descname">freeze_theory</tt><big>(</big><em>data_id</em>, <em>theory_id</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.freeze_theory" title="Permalink to this definition">¶</a></dt> |
---|
| 111 | <dd></dd></dl> |
---|
| 112 | |
---|
| 113 | <dl class="method"> |
---|
| 114 | <dt id="sans.guiframe.data_manager.DataManager.get_all_data"> |
---|
| 115 | <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> |
---|
| 116 | <dd><p>return list of all available data</p> |
---|
| 117 | </dd></dl> |
---|
| 118 | |
---|
| 119 | <dl class="method"> |
---|
| 120 | <dt id="sans.guiframe.data_manager.DataManager.get_by_id"> |
---|
| 121 | <tt class="descname">get_by_id</tt><big>(</big><em>id_list=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_by_id" title="Permalink to this definition">¶</a></dt> |
---|
| 122 | <dd></dd></dl> |
---|
| 123 | |
---|
| 124 | <dl class="method"> |
---|
| 125 | <dt id="sans.guiframe.data_manager.DataManager.get_by_name"> |
---|
| 126 | <tt class="descname">get_by_name</tt><big>(</big><em>name_list=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_by_name" title="Permalink to this definition">¶</a></dt> |
---|
| 127 | <dd><p>return a list of data given a list of data names</p> |
---|
| 128 | </dd></dl> |
---|
| 129 | |
---|
| 130 | <dl class="method"> |
---|
| 131 | <dt id="sans.guiframe.data_manager.DataManager.get_data_state"> |
---|
| 132 | <tt class="descname">get_data_state</tt><big>(</big><em>data_id</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.get_data_state" title="Permalink to this definition">¶</a></dt> |
---|
| 133 | <dd><p>Send list of selected data</p> |
---|
| 134 | </dd></dl> |
---|
| 135 | |
---|
| 136 | <dl class="method"> |
---|
| 137 | <dt id="sans.guiframe.data_manager.DataManager.get_message"> |
---|
| 138 | <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> |
---|
| 139 | <dd><p>return message</p> |
---|
| 140 | </dd></dl> |
---|
| 141 | |
---|
| 142 | <dl class="method"> |
---|
| 143 | <dt id="sans.guiframe.data_manager.DataManager.rename"> |
---|
| 144 | <tt class="descname">rename</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.rename" title="Permalink to this definition">¶</a></dt> |
---|
| 145 | <dd><p>rename data</p> |
---|
| 146 | </dd></dl> |
---|
| 147 | |
---|
| 148 | <dl class="method"> |
---|
| 149 | <dt id="sans.guiframe.data_manager.DataManager.update_data"> |
---|
| 150 | <tt class="descname">update_data</tt><big>(</big><em>prev_data</em>, <em>new_data</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.update_data" title="Permalink to this definition">¶</a></dt> |
---|
| 151 | <dd></dd></dl> |
---|
| 152 | |
---|
| 153 | <dl class="method"> |
---|
| 154 | <dt id="sans.guiframe.data_manager.DataManager.update_theory"> |
---|
| 155 | <tt class="descname">update_theory</tt><big>(</big><em>theory</em>, <em>data_id=None</em>, <em>state=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.data_manager.DataManager.update_theory" title="Permalink to this definition">¶</a></dt> |
---|
| 156 | <dd></dd></dl> |
---|
| 157 | |
---|
| 158 | </dd></dl> |
---|
| 159 | |
---|
| 160 | </div> |
---|
| 161 | </div> |
---|
| 162 | |
---|
| 163 | |
---|
| 164 | </div> |
---|
| 165 | </div> |
---|
| 166 | </div> |
---|
| 167 | <div class="sphinxsidebar"> |
---|
| 168 | <div class="sphinxsidebarwrapper"> |
---|
| 169 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 170 | <ul> |
---|
| 171 | <li><a class="reference internal" href="#">data_manager</a><ul> |
---|
| 172 | <li><a class="reference internal" href="#module-sans.guiframe.data_manager"><tt class="docutils literal"><span class="pre">sans.guiframe.data_manager</span></tt></a></li> |
---|
| 173 | </ul> |
---|
| 174 | </li> |
---|
| 175 | </ul> |
---|
| 176 | |
---|
| 177 | <h4>Previous topic</h4> |
---|
| 178 | <p class="topless"><a href="dataFitting.html" |
---|
| 179 | title="previous chapter">dataFitting</a></p> |
---|
| 180 | <h4>Next topic</h4> |
---|
| 181 | <p class="topless"><a href="data_panel.html" |
---|
| 182 | title="next chapter">data_panel</a></p> |
---|
| 183 | <h3>This Page</h3> |
---|
| 184 | <ul class="this-page-menu"> |
---|
| 185 | <li><a href="../_sources/api/data_manager.txt" |
---|
| 186 | rel="nofollow">Show Source</a></li> |
---|
| 187 | </ul> |
---|
| 188 | <div id="searchbox" style="display: none"> |
---|
| 189 | <h3>Quick search</h3> |
---|
| 190 | <form class="search" action="../search.html" method="get"> |
---|
| 191 | <input type="text" name="q" size="18" /> |
---|
| 192 | <input type="submit" value="Go" /> |
---|
| 193 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 194 | <input type="hidden" name="area" value="default" /> |
---|
| 195 | </form> |
---|
| 196 | <p class="searchtip" style="font-size: 90%"> |
---|
| 197 | Enter search terms or a module, class or function name. |
---|
| 198 | </p> |
---|
| 199 | </div> |
---|
| 200 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 201 | </div> |
---|
| 202 | </div> |
---|
| 203 | <div class="clearer"></div> |
---|
| 204 | </div> |
---|
| 205 | <div class="related"> |
---|
| 206 | <h3>Navigation</h3> |
---|
| 207 | <ul> |
---|
| 208 | <li class="right" style="margin-right: 10px"> |
---|
| 209 | <a href="../genindex.html" title="General Index" |
---|
| 210 | >index</a></li> |
---|
| 211 | <li class="right" > |
---|
| 212 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 213 | >modules</a> |</li> |
---|
| 214 | <li class="right" > |
---|
| 215 | <a href="data_panel.html" title="data_panel" |
---|
| 216 | >next</a> |</li> |
---|
| 217 | <li class="right" > |
---|
| 218 | <a href="dataFitting.html" title="dataFitting" |
---|
| 219 | >previous</a> |</li> |
---|
| 220 | <li><a href="../index.html">guiframe v0.1.0 documentation</a> »</li> |
---|
| 221 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 222 | </ul> |
---|
| 223 | </div> |
---|
| 224 | <div class="footer"> |
---|
| 225 | © Copyright 2010, sans group. |
---|
| 226 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. |
---|
| 227 | </div> |
---|
| 228 | </body> |
---|
| 229 | </html> |
---|