Skip to content

RF "IntendedFor" handling to allow flexible customization? #589

Open
@yarikoptic

Description

@yarikoptic

Just a brain dump:

In #554 @neurorepro is coming up with annotation within reproin sequence naming heuristic to identify "fieldmap ID" and "use this fieldmap ID" entities, @mirestrepo mentioned B0FieldIdentifier now present in BIDS, and currently in @pvelasco implementation we allow heuristics to define which of the supported "extracts" from DICOMs would constitute "an internal B0FieldIdentifier" record which then compared for exact match so no fancy shim values comparison is done/possible via allowing heuristics to define POPULATE_INTENDED_FOR_OPTS attribute within the heuristic listing the fields to take and how to resolve whenever multiple fieldmaps would match, e.g.

POPULATE_INTENDED_FOR_OPTS = {
    'matching_parameters': ['ImagingVolume', 'Shims'],
    'criterion': 'Closest'
}

So, I am thinking that we should allow for smth like infotob0ident(info_record) (we really need to streamline naming here ;)) which given an output from infotodict would output "something" which could be compared (now we are comparing those matching_parameters) , and possibly even has ad-hoc comparison implemented (so heuristics could provide some approximate matching to Shims values if so desired).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions