pass design by onset time and duration pairs
CompuNeuroPsychiatryLabEinKerem opened this issue · 1 comments
CompuNeuroPsychiatryLabEinKerem commented
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 commented
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.