Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracted Phasic Driver is not non-negative #7

Open
rivasd opened this issue Apr 28, 2021 · 1 comment
Open

Extracted Phasic Driver is not non-negative #7

rivasd opened this issue Apr 28, 2021 · 1 comment

Comments

@rivasd
Copy link

rivasd commented Apr 28, 2021

Hi! Thank you for taking the time to port this to Python :)

I am however a bit confused, since I thought Ledalab implemented an algorithm that constrained the phasic driver to be non-negative (since negative sudomotor nerver activations make no sense). The current output, that I can get with leda2.analysis.phasicDriverRaw is not non-negative and very dense, I assume because it perfectly reconstructs the data when summed with the tonic component

image

You can see what I mean with the green curve here.

Any pointers on how to better specify what analysis I want from Ledapy ?

@MarcoFiletti
Copy link
Collaborator

Hi, yes phasicDriverRaw is the raw (uncorrected) data.

To get the phasic driver, use leda2.analysis.phasicData, that one will be non-negative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants