VU-Cog-Sci / nideconv

fit response shapes from signal time-courses
MIT License
12 stars 11 forks source link

get_timecourse ignores run-index #9

Closed MichlF closed 5 years ago

MichlF commented 5 years ago

Right now GroupResponseFitter doesn't return time courses per run when I do grf.get_timecourses(). Instead, it gives the same output as get_subjectwise_timecourses, which it shouldn't.

Gilles86 commented 5 years ago

OK, I looked into this. It turns out that GroupResponseFitter uses concatenate_runs=True by default. This means that all runs are concatenated in a single run and it's not possible to get run-wise estimates.

The solution is to set the concatenate_runs-argument to False when intializing GroupResponseFitter.