Skip to content

Apply convolution to individual runs, not entire design matrix #9

Open
@tyarkoni

Description

@tyarkoni
Collaborator

Currently the HRF convolution is applied to the full design matrix that spans all subjects and runs. This means there could theoretically be some bleeding over across different runs and subjects. In practice this is unlikely to matter much given the designs we've been working with, but it needs to be addressed. Recommended approach is to refactor the modeling code so that all design matrix specification and convolution is done on a run-by-run basis, and then processed runs are concatenated into the full dataset just prior to sampling. This will also have the added benefit of making it easier to handle different numbers of volumes/events in each scanning run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tyarkoni

        Issue actions

          Apply convolution to individual runs, not entire design matrix · Issue #9 · PsychoinformaticsLab/nipymc