You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/diffpy.utils.parsers.html
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -138,14 +138,20 @@ <h3>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
138
138
This seems to work for most of the datafiles including those generated by diffpy programs.</p>
139
139
<sectionid="id1">
140
140
<h3>Parameters<aclass="headerlink" href="#id1" title="Link to this heading"></a></h3>
141
-
<dlclass="simple">
141
+
<dl>
142
142
<dt>filename</dt><dd><p>Name of the file we want to load data from.</p>
143
143
</dd>
144
-
<dt>minrows: int</dt><dd><p>Minimum number of rows in the first data block. All rows must have the same number of floating point values.</p>
144
+
<dt>minrows: int</dt><dd><dlclass="simple">
145
+
<dt>Minimum number of rows in the first data block. All rows must have the same number of floating</dt><dd><p>point values.</p>
146
+
</dd>
147
+
</dl>
148
+
</dd>
149
+
<dt>headers: bool</dt><dd><dl>
150
+
<dt>when False (defualt), the function returns a numpy array of the data in the data block.</dt><dd><dlclass="simple">
151
+
<dt>When True, the function instead returns a dictionary of parameters and their corresponding</dt><dd><p>values parsed from</p>
145
152
</dd>
146
-
<dt>headers: bool</dt><dd><dlclass="simple">
147
-
<dt>when False (defualt), the function returns a numpy array of the data in the data block.</dt><dd><p>When True, the function instead returns a dictionary of parameters and their corresponding values parsed from
148
-
header (information prior the data block). See hdel and hignore for options to help with parsing header
153
+
</dl>
154
+
<p>header (information prior the data block). See hdel and hignore for options to help with parsing header
149
155
information.</p>
150
156
</dd>
151
157
</dl>
@@ -282,19 +288,25 @@ <h3>Returns<a class="headerlink" href="#id7" title="Link to this heading"></a
0 commit comments