Comments (6)
For Phasic EDA I'm not sure it actually makes sense to apply baseline correction. For HRV, I would rather correct for a window immediately preceeding your event. Then, the type of correction depends mostly on your hypotheses.
For example, I presented emotionally negative pictures to participants. Based on the litterature, I expected a higher heart rate deceleration upon stimulus presentation (let's say, for 5 s). So I took the minimum of the heart rate in these 5 s and I subtracted that from the mean of a [-1, 0] window. To quantify the deceleration amplitude, so to speak.
But again, I'm not sure there are any gold standarts, you should follow the litterature unless you've got a good (ie, justified) reason for doing something else 😄
from neurokit.py.
Thank you for your answer. What do you mean by the [-1,0] window? So you had a 5s window beginning at the stimulus onset and over this window you searched the minimum and subtracted this minimum from the mean over this window?
from neurokit.py.
@Eichhof I substracted the minimum of the 0-5s window of the mean of the 1-second-long window preceeding stimulus onset.
from neurokit.py.
Now I've got it. ;) Did you take the mean of the heart rate over 1 seconds (I don't know how that mean could be calculated over such a small period)?
from neurokit.py.
NeuroKit computes by default a third order spline interpolation of the RR intervals to get a continuous signal of heart rate. You could even take the value of this heart rate signal upon stimulus onset. But otherwise, you can compute your own heart rate using R peaks (in that case you'll need indeed a larger window)
from neurokit.py.
Makes sense. :)
from neurokit.py.
Related Issues (20)
- preprocessing ecg recorded in fMRI setting
- AttributeError: module 'sklearn.externals' HOT 8
- Not understanding ecg_wave_detector and plot_events_in_signal?
- Neurokit tutorial producing dissimilar results HOT 1
- Bio_process error with sampling rate of 2000 HOT 3
- How to compute QRS duration interval?? HOT 1
- How to solve this error?? HOT 1
- Computing HRV indices with missing data HOT 1
- Issue put on other part, since this is not currently active one..!_read_xdf error with Shimmer3 recording data HOT 1
- ecg_process(): Sequence too short to compute heart rate - optimising for short signal HOT 1
- python 2 compatibility: make bio_eda compatible HOT 2
- Allow custom markers in nk.plot_events_in_signal function HOT 5
- Strange filter order expected by ecg_preprocess HOT 6
- Bug in eda_scr using slow method
- Peaks information in cardiac cycles HOT 2
- Python 2.7: TypeError: unbound method materials() must be called with Path instance as first argument (got nothing instead) HOT 2
- PPG compatibility HOT 1
- TypeError: 'str' object is not callable HOT 3
- I can't see my trigger channel on Neurokit HOT 5
- eda_process: band, order, and frequency are hardcoded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neurokit.py.