FirstLevelModel fit method could raise warning when confounds and design matrices are specified together.
FirstLevelModel fit method could raise warning when confounds and design matrices are specified together.: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I recently used FirstLevelModel in my project and discovered a mistake I made that was quite hard to detect. I…
The task
I recently used `FirstLevelModel` in my project and discovered a mistake I made that was quite hard to detect. I was using custom design matrix and fitted model instance like this: ```python first_level_model.fit(imgs, confounds=confounds, design_matrices=dm) ``` and didn't realize that in this case confounds would…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.