MEG Data Injection¶
Salzburg¶
At the University of Salzburg, MEG data is converted by Andreas Huttegger using the ANC MEG conversion pipeline. The pipeline converts .fif files to BIDS format, extracts events from trigger channels using the dataset's config.yaml, and automatically opens a merge request in the dataset project.
Other sites¶
Researchers at other sites convert their MEG data independently (e.g. using MNE-BIDS or FieldTrip) and deposit it via the self-deposit workflow.
After conversion¶
- MR is assigned to a user
- User has followed the handbook
- When everything is correct, they mark the MR as ready
- Data steward is assigned as reviewer
Review checklist¶
Structure¶
- Session directory is present (
sub-<label>/ses-<label>/meg/) — mandatory in the ANC even for single-session studies - Filenames follow BIDS convention (
sub-<label>[_ses-<label>]_task-<label>[_run-<index>]_meg.fif) - All required file pairs are present: data file +
*_meg.jsonsidecar
Participant information¶
-
participants.tsvcontainsparticipant_id,sex,age,diagnosisfor this subject -
participants.jsonhas a description for every column inparticipants.tsv
MEG sidecar (*_meg.json)¶
-
TaskNameis present -
SamplingFrequencyis present -
DewarPositionis present (Salzburg: upright) -
DigitizedLandmarksandDigitizedHeadPointsare documented - Channel counts are consistent with the actual recording
Channel classification (*_channels.tsv)¶
- Channel types are correctly labelled (
MEG,MEGREF,ECG,EOG,STIM,MISC, etc.) - Stimulus/trigger channels are classified as
STIM, notMEG
Events (*_events.tsv and *_events.json)¶
- Events file is present for task recordings
-
onsetanddurationcolumns are present -
trial_typevalues match the labels defined in the conversionconfig.yaml - Trigger codes
0and255are absent (should be inignore_triggersin config) -
*_events.jsoncontains a description for every column
Coordinate system (*_coordsystem.json)¶
- Present
-
MEGCoordinateSystemandMEGCoordinateUnitsare specified - Head shape / digitisation points are present if recorded