Skip to content

ReproIn heuristic uses phase suffix instead of part-phase #769

@tsalo

Description

@tsalo

Summary

The ReproIn heuristic (reproin) currently uses suffixes to distinguish complex-valued fMRI data (see below). However, the phase suffix is deprecated in favor of the part entity.

elif "P" in s.image_type:
datatype_suffix = "phase"
elif "M" in s.image_type:
datatype_suffix = "bold"

The difficult thing is that infotodict is run separately on each run loops over runs, and magnitude and phase data from the same run are typically (at least with the CMRR MB sequence) split into separate folders of DICOMs (magnitude first). I don't know how to flexibly identify magnitude BOLD runs that need part-mag (i.e., runs with phase data also reconstructed) vs. those that don't (magnitude-only reconstruction).

I'm thinking maybe that the filename_suffix_parts list could be built with part included by default, then it could be collected across runs, and then if there aren't any cases where everything else is the same except for part, the part entity could be removed.

Platform details:

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions