GithubHelp home page GithubHelp logo

Comments (6)

DominiqueMakowski avatar DominiqueMakowski commented on August 22, 2024

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.

Eichhof avatar Eichhof commented on August 22, 2024

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.

DominiqueMakowski avatar DominiqueMakowski commented on August 22, 2024

@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.

Eichhof avatar Eichhof commented on August 22, 2024

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.

DominiqueMakowski avatar DominiqueMakowski commented on August 22, 2024

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.

Eichhof avatar Eichhof commented on August 22, 2024

Makes sense. :)

from neurokit.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.