Skip to content

Commit f2664cd

Browse files
author
LegrandNico
committed
Documentation and tests
1 parent 8ba538e commit f2664cd

File tree

15 files changed

+37
-38
lines changed

15 files changed

+37
-38
lines changed

.coverage

16 KB
Binary file not shown.

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ The package integrates a set of functions for interactive or non interactive dat
114114
plot_raw(signal[60000 : 120000], modality="ecg", backend="bokeh",
115115
show_heart_rate=True, show_artefacts=True, figsize=300)
116116
117-
.. raw:: html
118-
:file: source/images/raw.html
117+
.. figure:: https://github.com/embodied-computation-group/systole/raw/master/source/images/raw.png
118+
:align: center
119119

120120

121121
Artefacts detection and rejection
@@ -132,8 +132,8 @@ Artefacts can be detected and corrected in the RR interval time series or the pe
132132
133133
plot_subspaces(peaks, input_type="peaks", backend="bokeh")
134134
135-
.. raw:: html
136-
:file: source/images/subspaces.html
135+
.. figure:: https://github.com/embodied-computation-group/systole/raw/master/source/images/subspaces.png
136+
:align: center
137137

138138
Instantaneous and evoked heart rate
139139
===================================
@@ -153,8 +153,8 @@ Systole implemetns basic time-domain, frequency-domain and non-linear HRV indice
153153
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(400, 400)),
154154
)
155155
156-
.. raw:: html
157-
:file: source/images/hrv.html
156+
.. figure:: https://github.com/embodied-computation-group/systole/raw/master/source/images/hrv.png
157+
:align: center
158158

159159

160160
Online systolic peak detection, cardiac-stimulus synchrony, and cardiac circular analysis

examples/Artefacts/plot_ArtefactsDetection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# panel plot subspaces that will be more sensitive to long or short beats,
5353
# comprizing the extra and missed beats.
5454

55-
plot_subspaces(rr)
55+
plot_subspaces(rr, figsize=(12, 6))
5656

5757
#%%
5858
# References
File renamed without changes.

examples/Recording/plot_RecordingPPG.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Recording PPG signal
33
====================
44
5-
The py:class:systole.recording.Oximeter class can be used to read incoming PPG signal
5+
The py:class:`systole.recording.Oximeter` class can be used to read incoming PPG signal
66
from `Nonin 3012LP Xpod USB pulse oximeter
77
<https://www.nonin.com/products/xpod/>`_ together with the `Nonin 8000SM 'soft-clip'
88
fingertip sensors <https://www.nonin.com/products/8000s/>`_. This function can easily

source/getting_started.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The package integrates a set of functions for interactive or non interactive dat
4545
show_heart_rate=True, show_artefacts=True, figsize=300)
4646
4747
.. raw:: html
48-
:file: source/images/raw.html
48+
:file: ./images/raw.html
4949

5050

5151
Artefacts detection and rejection
@@ -63,7 +63,7 @@ Artefacts can be detected and corrected in the RR interval time series or the pe
6363
plot_subspaces(peaks, input_type="peaks", backend="bokeh")
6464
6565
.. raw:: html
66-
:file: source/images/subspaces.html
66+
:file: ./images/subspaces.html
6767

6868
Instantaneous and evoked heart rate
6969
===================================
@@ -79,12 +79,12 @@ Systole implemetns basic time-domain, frequency-domain and non-linear HRV indice
7979
from systole.plots plot_frequency, plot_pointcare
8080
8181
row(
82-
plot_frequency(peaks, input_type="peaks", backend="bokeh", figsize=(600, 400)),
83-
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(400, 400)),
82+
plot_frequency(peaks, input_type="peaks", backend="bokeh", figsize=(300, 200)),
83+
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(200, 200)),
8484
)
8585
8686
.. raw:: html
87-
:file: source/images/hrv.html
87+
:file: ./images/hrv.html
8888

8989

9090
Online systolic peak detection, cardiac-stimulus synchrony, and cardiac circular analysis

source/images/LabLogo.png

138 KB
Loading

source/images/au_clinisk_logo.png

103 KB
Loading

source/images/create_figures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
#%% As HTML
4747
save(
4848
row(
49-
plot_frequency(peaks, input_type="peaks", backend="bokeh", figsize=(600, 400)),
50-
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(400, 400)),
49+
plot_frequency(peaks, input_type="peaks", backend="bokeh", figsize=(300, 200)),
50+
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(200, 200)),
5151
),filename="hrv.html"
5252
)
5353

source/images/hrv.html

Lines changed: 8 additions & 7 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)