[16771b0] | 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>hfir1d_reader — DataLoader 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="DataLoader v0.1.0 documentation" href="../../index.html" /> |
---|
| 26 | <link rel="up" title="Readers" href="index.html" /> |
---|
| 27 | <link rel="next" title="IgorReader" href="IgorReader.html" /> |
---|
| 28 | <link rel="prev" title="danse_reader" href="danse_reader.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="IgorReader.html" title="IgorReader" |
---|
| 42 | accesskey="N">next</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="danse_reader.html" title="danse_reader" |
---|
| 45 | accesskey="P">previous</a> |</li> |
---|
| 46 | <li><a href="../../index.html">DataLoader v0.1.0 documentation</a> »</li> |
---|
| 47 | <li><a href="index.html" accesskey="U">Readers</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="hfir1d-reader"> |
---|
| 57 | <h1>hfir1d_reader<a class="headerlink" href="#hfir1d-reader" title="Permalink to this headline">¶</a></h1> |
---|
| 58 | <div class="section" id="module-DataLoader.readers.hfir1d_reader"> |
---|
| 59 | <span id="dataloader-readers-hfir1d-reader"></span><h2><a class="reference internal" href="#module-DataLoader.readers.hfir1d_reader" title="DataLoader.readers.hfir1d_reader"><tt class="xref py py-mod docutils literal"><span class="pre">DataLoader.readers.hfir1d_reader</span></tt></a><a class="headerlink" href="#module-DataLoader.readers.hfir1d_reader" title="Permalink to this headline">¶</a></h2> |
---|
| 60 | <dl class="class"> |
---|
| 61 | <dt id="DataLoader.readers.hfir1d_reader.Reader"> |
---|
| 62 | <em class="property">class </em><tt class="descclassname">DataLoader.readers.hfir1d_reader.</tt><tt class="descname">Reader</tt><a class="headerlink" href="#DataLoader.readers.hfir1d_reader.Reader" title="Permalink to this definition">¶</a></dt> |
---|
| 63 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p> |
---|
| 64 | <p>Class to load HFIR 1D 4-column files</p> |
---|
| 65 | <dl class="method"> |
---|
| 66 | <dt id="DataLoader.readers.hfir1d_reader.Reader.read"> |
---|
| 67 | <tt class="descname">read</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#DataLoader.readers.hfir1d_reader.Reader.read" title="Permalink to this definition">¶</a></dt> |
---|
| 68 | <dd><p>Load data file</p> |
---|
| 69 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 70 | <col class="field-name" /> |
---|
| 71 | <col class="field-body" /> |
---|
| 72 | <tbody valign="top"> |
---|
| 73 | <tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>path</strong> – file path</p> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | <tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Data1D object, or None</p> |
---|
| 77 | </td> |
---|
| 78 | </tr> |
---|
| 79 | <tr class="field"><th class="field-name">Raises:</th><td class="field-body"><ul class="first last simple"> |
---|
| 80 | <li><strong>RuntimeError</strong> – when the file can’t be opened</li> |
---|
| 81 | <li><strong>ValueError</strong> – when the length of the data vectors are inconsistent</li> |
---|
| 82 | </ul> |
---|
| 83 | </td> |
---|
| 84 | </tr> |
---|
| 85 | </tbody> |
---|
| 86 | </table> |
---|
| 87 | </dd></dl> |
---|
| 88 | |
---|
| 89 | </dd></dl> |
---|
| 90 | |
---|
| 91 | </div> |
---|
| 92 | </div> |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | </div> |
---|
| 96 | </div> |
---|
| 97 | </div> |
---|
| 98 | <div class="sphinxsidebar"> |
---|
| 99 | <div class="sphinxsidebarwrapper"> |
---|
| 100 | <h3><a href="../../index.html">Table Of Contents</a></h3> |
---|
| 101 | <ul> |
---|
| 102 | <li><a class="reference internal" href="#">hfir1d_reader</a><ul> |
---|
| 103 | <li><a class="reference internal" href="#module-DataLoader.readers.hfir1d_reader"><tt class="docutils literal"><span class="pre">DataLoader.readers.hfir1d_reader</span></tt></a></li> |
---|
| 104 | </ul> |
---|
| 105 | </li> |
---|
| 106 | </ul> |
---|
| 107 | |
---|
| 108 | <h4>Previous topic</h4> |
---|
| 109 | <p class="topless"><a href="danse_reader.html" |
---|
| 110 | title="previous chapter">danse_reader</a></p> |
---|
| 111 | <h4>Next topic</h4> |
---|
| 112 | <p class="topless"><a href="IgorReader.html" |
---|
| 113 | title="next chapter">IgorReader</a></p> |
---|
| 114 | <h3>This Page</h3> |
---|
| 115 | <ul class="this-page-menu"> |
---|
| 116 | <li><a href="../../_sources/api/readers/hfir1d_reader.txt" |
---|
| 117 | rel="nofollow">Show Source</a></li> |
---|
| 118 | </ul> |
---|
| 119 | <div id="searchbox" style="display: none"> |
---|
| 120 | <h3>Quick search</h3> |
---|
| 121 | <form class="search" action="../../search.html" method="get"> |
---|
| 122 | <input type="text" name="q" size="18" /> |
---|
| 123 | <input type="submit" value="Go" /> |
---|
| 124 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 125 | <input type="hidden" name="area" value="default" /> |
---|
| 126 | </form> |
---|
| 127 | <p class="searchtip" style="font-size: 90%"> |
---|
| 128 | Enter search terms or a module, class or function name. |
---|
| 129 | </p> |
---|
| 130 | </div> |
---|
| 131 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 132 | </div> |
---|
| 133 | </div> |
---|
| 134 | <div class="clearer"></div> |
---|
| 135 | </div> |
---|
| 136 | <div class="related"> |
---|
| 137 | <h3>Navigation</h3> |
---|
| 138 | <ul> |
---|
| 139 | <li class="right" style="margin-right: 10px"> |
---|
| 140 | <a href="../../genindex.html" title="General Index" |
---|
| 141 | >index</a></li> |
---|
| 142 | <li class="right" > |
---|
| 143 | <a href="../../py-modindex.html" title="Python Module Index" |
---|
| 144 | >modules</a> |</li> |
---|
| 145 | <li class="right" > |
---|
| 146 | <a href="IgorReader.html" title="IgorReader" |
---|
| 147 | >next</a> |</li> |
---|
| 148 | <li class="right" > |
---|
| 149 | <a href="danse_reader.html" title="danse_reader" |
---|
| 150 | >previous</a> |</li> |
---|
| 151 | <li><a href="../../index.html">DataLoader v0.1.0 documentation</a> »</li> |
---|
| 152 | <li><a href="index.html" >Readers</a> »</li> |
---|
| 153 | </ul> |
---|
| 154 | </div> |
---|
| 155 | <div class="footer"> |
---|
| 156 | © Copyright 2010, sans group. |
---|
| 157 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. |
---|
| 158 | </div> |
---|
| 159 | </body> |
---|
| 160 | </html> |
---|