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: README.rst
+7-21Lines changed: 7 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -216,15 +216,7 @@ When reading signal sample values into ``record`` objects using ``rdsamp``, the
216
216
One can also use existing objects to obtain physical values from digital values and vice versa, without having to re-read the wfdb file with a different set of options. The two following instance methods perform the conversions.
217
217
218
218
219
-
**adc** - Performs analogue to digital conversion of the physical signal stored
220
-
in p_signals if expanded is False, or e_p_signals if expanded is True.
221
-
222
-
The p_signals/e_p_signals, fmt, gain, and baseline fields must all be
223
-
valid.
224
-
225
-
If inplace is True, the adc will be performed inplace on the variable,
226
-
the d_signals/e_d_signals attribute will be set, and the
227
-
p_signals/e_p_signals field will be set to None.
219
+
**adc** - Performs analogue to digital conversion of the physical signal stored in p_signals if expanded is False, or e_p_signals if expanded is True. The p_signals/e_p_signals, fmt, gain, and baseline fields must all be valid. If inplace is True, the adc will be performed inplace on the variable, the d_signals/e_d_signals attribute will be set, and the p_signals/e_p_signals field will be set to None.
228
220
229
221
::
230
222
@@ -241,23 +233,16 @@ Possible output argument:
241
233
242
234
Example Usage:
243
235
244
-
::
236
+
::
237
+
245
238
import wfdb
246
239
record = wfdb.rdsamp('sampledata/100')
247
240
d_signal = record.adc()
248
241
record.adc(inplace=True)
249
242
record.dac(inplace=True)
250
243
251
244
252
-
**dac** - Performs digital to analogue conversion of the digital signal stored
253
-
in d_signals if expanded is False, or e_d_signals if expanded is True.
254
-
255
-
The d_signals/e_d_signals, fmt, gain, and baseline fields must all be
256
-
valid.
257
-
258
-
If inplace is True, the dac will be performed inplace on the variable,
259
-
the p_signals/e_p_signals attribute will be set, and the
260
-
d_signals/e_d_signals field will be set to None.
245
+
**dac** - Performs digital to analogue conversion of the digital signal stored in d_signals if expanded is False, or e_d_signals if expanded is True. The d_signals/e_d_signals, fmt, gain, and baseline fields must all be valid. If inplace is True, the dac will be performed inplace on the variable, the p_signals/e_p_signals attribute will be set, and the d_signals/e_d_signals field will be set to None.
261
246
262
247
::
263
248
@@ -274,7 +259,8 @@ Possible output argument:
274
259
275
260
Example Usage:
276
261
277
-
::
262
+
::
263
+
278
264
import wfdb
279
265
record = wfdb.rdsamp('sampledata/100', physical=False)
280
266
p_signal = record.dac()
@@ -344,7 +330,7 @@ Example Usage:
344
330
import wfdb
345
331
ann = wfdb.rdann('sampledata/100', 'atr', sampto = 300000)
346
332
347
-
Input arguments:
333
+
Input Arguments:
348
334
349
335
- ``recordname`` (required): The record name of the WFDB annotation file. ie. for file `100.atr`, recordname='100'
350
336
- ``extension`` (required): The annotatator extension of the annotation file. ie. for
0 commit comments