-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
50 changed files
with
67 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+754 Bytes
(100%)
source/auto_examples/images/sphx_glr_plot_HeartBeatEvokedArpeggios_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+414 Bytes
(100%)
source/auto_examples/images/sphx_glr_plot_HeartBeatEvokedArpeggios_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+160 Bytes
(100%)
source/auto_examples/images/sphx_glr_plot_InstantaneousHeartRate_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+784 Bytes
(100%)
source/auto_examples/images/thumb/sphx_glr_plot_HeartBeatEvokedArpeggios_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.6 KB
(96%)
source/auto_examples/images/thumb/sphx_glr_plot_InstantaneousHeartRate_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
""" | ||
Heart Beats Evoked Arpeggios | ||
Heartbeat Evoked Arpeggios | ||
============================ | ||
This tutorial illustrates how to use the ``Oximeter`` class to trigger stimuli | ||
at different cardiac cycles using the [Psychopy](https://www.psychopy.org/) | ||
at different phases of the cardiac cycle using the [Psychopy](https://www.psychopy.org/) | ||
toolbox. The PPG signal is recorded for 30 seconds and peaks are detected | ||
online. Four notes ('C', 'E', 'G', 'Bfl') are played in synch with peak | ||
detection with various delay: no delay, 1/4, 2/4 or 3/4 of the previous | ||
cardiac cycle length. While R-R intervals are prone to large changes in the | ||
long term, such changes are physiologically limited for heartbeat, thus | ||
limiting the variability of phase in which the note is played. | ||
detection with various delays: no delay, 1/4, 2/4 or 3/4 of the previous | ||
cardiac cycle length. While R-R intervals are prone to large changes over longer | ||
timescales, such changes are physiologically limited from one heartbeat to the next, | ||
limiting variance in the onset synchrony between the tones and the cardiac cycle. | ||
On this basis, each presentation time is calibrated based on the previous RR-interval. | ||
This procedure can easily be adapted to create a standard interoception task, e.g. by either presenting | ||
tones at no delay (systole, s+) or at a fixed offset (diastole, s-). | ||
""" | ||
|
||
# Author: Nicolas Legrand <[email protected]> | ||
|
@@ -39,7 +42,7 @@ | |
#%% | ||
# If you want to allow online data acquisition, you should uncomment the | ||
# following lines and provide the reference of the COM port where the pulse | ||
# oximeter is plugged. | ||
# oximeter is plugged in. | ||
|
||
############################################################################### | ||
# .. code-block:: python | ||
|
@@ -48,7 +51,7 @@ | |
# ser = serial.Serial('COM4') # Change this value according to your setup | ||
|
||
#%% | ||
# Create an Oxymeter instance, initialize recording and record for 10 seconds | ||
# Create an Oximeter instance, initialize recording and record for 10 seconds | ||
|
||
oxi = Oximeter(serial=ser, sfreq=75, add_channels=4).setup() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cb7354c44dcefa6f0a93a45d8ad9fad7 | ||
694cbbf3348bf43e6b6f5f00d4315a8d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1 Byte
(100%)
source/auto_examples/plot_HeartBeatEvokedArpeggios_codeobj.pickle
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
30d323223ddfc8eb8292956cc89bcb09 | ||
2e5f5defbd94632a635de74bc150aaa1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
source/auto_examples/plot_InstantaneousHeartRate_codeobj.pickle
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
27ff66cbe2240503c8708a57adde3792 | ||
4a7b14e5a0b10cc5d10d5c633997826c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
source/auto_examples/plot_RRSubspacesDetection_codeobj.pickle
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.