Skip to content

Commit d61755a

Browse files
author
Nicolas Legrand
authored
Merge pull request #34 from embodied-computation-group/dev
v0.2.2
2 parents 170faaa + 0de52b5 commit d61755a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1947
-927
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: isort
66
files: ^systole/
77
- repo: https://github.com/ambv/black
8-
rev: 21.9b0
8+
rev: 21.12b0
99
hooks:
1010
- id: black
1111
language_version: python3
@@ -16,7 +16,7 @@ repos:
1616
- id: flake8
1717
files: ^systole/
1818
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: 'v0.910' # Use the sha / tag you want to point at
19+
rev: 'v0.920' # Use the sha / tag you want to point at
2020
hooks:
2121
- id: mypy
2222
files: ^systole/

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
.. image:: https://zenodo.org/badge/219720901.svg
99
:target: https://zenodo.org/badge/latestdoi/219720901
1010

11-
.. image:: https://travis-ci.org/embodied-computation-group/systole.svg?branch=master
12-
:target: https://travis-ci.org/embodied-computation-group/systole
13-
1411
.. image:: https://codecov.io/gh/embodied-computation-group/systole/branch/master/graph/badge.svg
1512
:target: https://codecov.io/gh/embodied-computation-group/systole
1613

@@ -66,6 +63,7 @@ The following packages are required to use Systole:
6663
* `pyserial <https://pyserial.readthedocs.io/en/latest/pyserial.html>`_ (>=3.4)
6764
* `setuptools <https://setuptools.pypa.io/en/latest/>`_ (>=38.4)
6865
* `requests <https://docs.python-requests.org/en/latest/>`_ (>=2.26.0)
66+
* `tabulate <https://github.com/astanin/python-tabulate/>`_ (>=0.8.9)
6967

7068

7169
The Python version should be 3.7 or higher.
@@ -78,6 +76,7 @@ For an introduction to Systole and cardiac signal analysis, you can refer to the
7876
.. list-table::
7977
:widths: 60 40
8078
:header-rows: 0
79+
:align: center
8180

8281
* - Cardiac signal analysis
8382
- |Colab badge 1|
@@ -157,11 +156,11 @@ Systole implements time-domain, frequency-domain and non-linear HRV indices, as
157156
.. code-block:: python
158157
159158
from bokeh.layouts import row
160-
from systole.plots import plot_frequency, plot_pointcare
159+
from systole.plots import plot_frequency, plot_poincare
161160
162161
row(
163162
plot_frequency(peaks, input_type="peaks", backend="bokeh", figsize=(300, 200)),
164-
plot_pointcare(peaks, input_type="peaks", backend="bokeh", figsize=(200, 200)),
163+
plot_poincare(peaks, input_type="peaks", backend="bokeh", figsize=(200, 200)),
165164
)
166165
167166
.. image:: https://github.com/embodied-computation-group/systole/blob/dev/source/images/hrv.png

requirements-test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ numba>=0.51.2
1111
tqdm
1212
requests>=2.24.0
1313
papermill>=2.2.2
14-
pytest
14+
pytest
15+
tabulate>=0.8.9

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ setuptools>=38.4
99
packaging
1010
numba>=0.51.2
1111
tqdm
12-
requests>=2.26.0
12+
requests>=2.26.0
13+
tabulate>=0.8.9

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_requirements():
2020
DISTNAME = "systole"
2121
MAINTAINER = "Nicolas Legrand"
2222
MAINTAINER_EMAIL = "[email protected]"
23-
VERSION = "0.2.1"
23+
VERSION = "0.2.2"
2424

2525

2626
if __name__ == "__main__":

source/api.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Functions
66
=========
77

88
.. contents:: Table of Contents
9-
:depth: 3
9+
:depth: 2
1010

1111
Correction
1212
----------
@@ -37,6 +37,7 @@ Detection
3737

3838
ppg_peaks
3939
ecg_peaks
40+
res_peaks
4041
rr_artefacts
4142
interpolate_clipping
4243

@@ -54,8 +55,13 @@ Heart Rate Variability
5455
pnnX
5556
rmssd
5657
time_domain
58+
psd
5759
frequency_domain
58-
nonlinear
60+
nonlinear_domain
61+
poincare
62+
recurrence
63+
recurrence_matrix
64+
all_domain
5965

6066
Plots
6167
-----
@@ -72,7 +78,7 @@ Plots
7278
plot_events
7379
plot_evoked
7480
plot_frequency
75-
plot_pointcare
81+
plot_poincare
7682
plot_raw
7783
plot_rr
7884
plot_shortlong

source/api/systole.detection.res_peaks.examples

Whitespace-only changes.

source/api/systole.hrv.all_domain.examples

Whitespace-only changes.

source/api/systole.hrv.nonlinear_domain.examples

Whitespace-only changes.

0 commit comments

Comments
 (0)