Skip to content

Write out "sanity" derivatives / introspection mode #2245

@oesteban

Description

@oesteban

In trying to extract the signal for each of the CompCor ROIs to then check their correlation with the global signal (as @rciric suggested in order to finalize #2130) I have realized that I will need to keep the working directory somewhere and then manually select the ROI masks.

I propose to add a new --introspect-mode flag that runs the workflow in some sort of "debug mode" and writes out to the derivatives folder additional information such as the compcor masks.

In addition, and independently of the --introspect-mode, we could also internally keep some "sanity features", such as the timeseries from CompCor ROIs and use those to make decisions (i.e., very much like the fallback for bold-t1 registration). When in --introspect-mode, these signals/features would be written out to the derivatives folder.

WDYT? @effigies @mgxd

Note: this is also related in a way to @satra's longstanding request for more quantitative quality metrics, he referred to freesurfers when proposed, but I think it goes to the same point.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions