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

pass design by onset time and duration pairs #77

Open
CompuNeuroPsychiatryLabEinKerem opened this issue Apr 27, 2021 · 1 comment
Open

Comments

@CompuNeuroPsychiatryLabEinKerem

Hi,

Similarly to the Matlab toolbox - is there a way to pass the design by onset+duration pairs rather than a matrix?
If so, what is the format?

Thanks!

@JasperVanDenBosch
Copy link
Member

JasperVanDenBosch commented Mar 11, 2022

Hi @CompuNeuroPsychiatryLabEinKerem
Sorry for taking so long to reply to this.
The answer is yes, if you pass a dataframe with onset and duration columns, such as obtained by reading a BIDS events file,
to the GLMdenoise.fit() method, it should work.

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