- Python 100%
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. |
||
|---|---|---|
| .datalad | ||
| code | ||
| sessions | ||
| .gitattributes | ||
| .gitmodules | ||
| id_map.tsv | ||
| README.md | ||
Phantom MRI study dataset
This dataset tracks all phantom MRI acquisitions done for the TRR379 for the purpose of validating the Q01 protocol at all sites.
Key aspects of this setup
Session labels are pseudonymized identifiers
This first layer of personal data protection reduces the chances of participant identifiers appearing as part of file/path names.
Each session or acquisition is placed into a directory/dataset
in sessions/ that is given a project-internal pseudonymous identifier
as its directory name.
Multi-project ID mapping
The top-level id_map.tsv is a tab-separated table, which maps
session source identifiers to any number of contexts. The source
identifier corresponds to the directory name for a DICOM dataset in the
sessions/ directory. This is the value in the first column of each
table row. Every subsequent column define the ID mapping to a different
context. The context label is defined in the header row.
A script to perform "re-identification" from a particular context
is provided at code/reidentify.py. It can be used like this
python3 code/reidentify.py id_map.tsv q01 AP001
The script returns the source identifier linked to the q01 identifier
AP001.
The file id_map.tsv is an annexed file. Once the last copy of this file is
destroyed, identifier-based re-identification is no longer possible
(a precondition for data anonymization).