Data manipulationΒΆ

Note

This is a copy of the jupyter notebook with the following name: Data_manipulation_ECG_PPG.ipynb. The other option is to use the sphinx extension sphinx-nbexamples.

Out:

Importing the dtw module. When using in academic works please cite:
  T. Giorgino. Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package.
  J. Stat. Soft., doi:10.18637/jss.v031.i07.

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 # Import generic
 import os

 # Import vital_sqi
 from vital_sqi.data.signal_io import ECG_reader

 # ------------------------------------
 # Load data
 # ------------------------------------
 # Create path
 folder_name = '../../tests/test_data'
 file_name = 'example.edf'
 path = os.path.join(folder_name, file_name)

 # Read (there is an error when loading)
 #df, info = ECG_reader(path,'edf')

 # Show
 #print(df)

 # -----------------------------------
 #
 # -----------------------------------

Total running time of the script: ( 0 minutes 3.423 seconds)

Gallery generated by Sphinx-Gallery