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
For an overview of all the recording functionalities, you can refer to the following examples:
68
-
69
-
* Recording
70
-
* Artefacts detection and artefacts correction
71
-
* Heart rate variability
68
+
Tutorials
69
+
=========
72
70
73
71
For an introduction to Systole and cardiac signal analysis, you can refer to the following tutorial:
74
72
75
-
* Introduction to cardiac signal analysis - |Colab badge| - `Jupyter Book <https://legrandnico.github.io/Notebooks/IntroductionCardiacSignalAnalysis.html>`_
73
+
1. Cardiac signal analysis - |Colab badge 1|
74
+
2. Detecting cardiac cycles - |Colab badge 2|
75
+
3. Detecting and correcting artefats - |Colab badge 3|
76
+
4. Heart rate variability - |Colab badge 4|
77
+
5. Instantaneous and evoked heart rate - |Colab badge 5|
Systole natively supports recording of physiological signals from the following setups:
84
-
* `Nonin 3012LP Xpod USB pulse oximeter <https://www.nonin.com/products/xpod/>`_ together with the `Nonin 8000SM 'soft-clip' fingertip sensors <https://www.nonin.com/products/8000s/>`_ (USB).
85
-
* Remote Data Access (RDA) via BrainVision Recorder together with `Brain product ExG amplifier <https://www.brainproducts.com/>`_ (Ethernet).
Systole implements systolic peak detection inspired by van Gent et al. (2019) and the artefact rejection method recently proposed by Lipponen & Tarvainen (2019).
94
+
95
+
Getting started
96
+
+++++++++++++++
91
97
92
98
.. code-block:: python
93
99
94
-
from systole import simulate_rr
95
-
from systole.plots import plot_subspaces
100
+
from systole import import_dataset1
96
101
97
-
rr = simulate_rr()
98
-
plot_subspaces(rr)
102
+
# Import ECg recording
103
+
signal = import_dataset1(modalities=['ECG']).ecg.to_numpy()
The package integrates a set of functions for interactive or non interactive data visualization based on `Matplotlib <https://matplotlib.org/>`_ and `Bokeh <https://docs.bokeh.org/en/latest/index.html#>`_.
105
109
106
-
Systole integrates a set of functions for interactive data visualization based on `Bokeh <https://docs.bokeh.org/en/latest/index.html#>`_.
Systole supports basic time-domain, frequency-domain and non-linear extraction indices.
121
+
Artefacts detection and rejection
122
+
=================================
123
+
Artefacts can be detected and corrected in the RR interval time series or the peaks vector following the algorythm proposed by Lipponen & Tarvainen (2019).
120
124
121
-
All time-domain and non-linear indices have been tested against Kubios HVR 2.2 (<https://www.kubios.com>). The frequency-domain indices can slightly differ. We recommend to always check your results against another software.
125
+
.. code-block:: python
126
+
127
+
from systole.detection import ecg_peaks
128
+
from systole.plots plot_subspaces
129
+
130
+
# R peaks detection
131
+
signal, peaks = ecg_peaks(signal, method='pan-tompkins', sfreq=1000)
Systole natively supports recording of physiological signals from the following setups:
164
+
- `Nonin 3012LP Xpod USB pulse oximeter <https://www.nonin.com/products/xpod/>`_ together with the `Nonin 8000SM 'soft-clip' fingertip sensors <https://www.nonin.com/products/8000s/>`_ (USB).
165
+
- Remote Data Access (RDA) via BrainVision Recorder together with `Brain product ExG amplifier <https://www.brainproducts.com/>`_ (Ethernet).
This module was created and is maintained by Nicolas Legrand and Micah Allen (ECG group, https://the-ecg.org/). If you want to contribute, feel free to contact one of the developers, open an issue or submit a pull request.
136
172
137
173
This program is provided with NO WARRANTY OF ANY KIND.
This software and the ECG are supported by a Lundbeckfonden Fellowship (R272-2017-4345), and the AIAS-COFUND II fellowship programme that is supported by the Marie Skłodowska-Curie actions under the European Union’s Horizon 2020 (Grant agreement no 754513), and the Aarhus University Research Foundation.
150
186
@@ -158,4 +194,19 @@ Systole was largely inspired by pre-existing toolboxes dedicated to heartrate va
Copy file name to clipboardExpand all lines: examples/README.rst
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,4 @@
3
3
Example gallery
4
4
===============
5
5
6
-
This section demonstrates some of the basic functionality of **systole**.
7
-
If you want to see the tutorials in action, you can also click on the link below and navigate to the ``tutorials/`` folder to launch one of the interactive Jupyter notebooks.
8
-
9
-
.. contents:: Contents
10
-
:local:
11
-
:depth: 3
6
+
This section demonstrates some of the basic functionality of **systole**.
0 commit comments