phantom-mri-dicoms/code
Michał Szczepanik d4b97c3519 Switch field map labelling to use acq instead of run
It is now clear that the intention was to use each field map
acquisition just once. To make this more apparent in the BIDS layout,
and enable Heudiconv's "CustomAcquisitionLabel" strategy for matching
IntendedFor, we switch from using run- labels to acq- labels. The
label will be either the corresponding task label (if intended for
func) or the corresponding acquisition label (for dwi).

We still keep the ImagingVolume and Shims options: we'd rather not
assign IntendedFor than assign a mismatched one.

It seems that the conditional which handles protocol name with no
explicit field map numbering was left over from the initial draft (it
seems that protocols from Aachen, Frankfurt, and Mannheim always use
run-(1/2/3) while Mannheim has a naming strategy altogether
incompatible with this heuristic), but the conditional is kept (and
updated) just in case.
2026-06-03 20:53:56 +02:00
..
.gitignore Avoid tracking Python bytecode 2025-09-04 12:43:56 +02:00
heuristic-q01.py Switch field map labelling to use acq instead of run 2026-06-03 20:53:56 +02:00
reidentify.py Generalize pseudonymization to multi-context ID mapping 2025-08-31 15:52:14 +02:00