ds000117/
CHANGES, README
dataset_description.json
participants.tsv, participants.json
task-facerecognition_bold.json
task-facerecognition_meg.json
sub-01/
ses-meg/
meg/
sub-01_ses-meg_acq-calibration_meg.dat
sub-01_ses-meg_acq-crosstalk_meg.fif
sub-01_ses-meg_coordsystem.json
sub-01_ses-meg_task-facerecognition_run-01_channels.tsv
sub-01_ses-meg_task-facerecognition_run-01_events.tsv
sub-01_ses-meg_task-facerecognition_run-01_meg.fif
sub-01_ses-meg_task-facerecognition_run-01_meg.json
runs 02 to 06
sub-01_ses-meg_scans.tsv
ses-mri/
anat/
sub-01_ses-mri_T1w.nii.gz, sub-01_ses-mri_T1w.json
fmap/
sub-01_ses-mri_acq-func_phasediff.nii.gz
magnitude1, magnitude2, and their sidecars
func/
sub-01_ses-mri_task-facerecognition_run-01_bold.nii.gz
sub-01_ses-mri_task-facerecognition_run-01_events.tsv
runs 02 to 09
sub-02/ ... sub-16/
sub-emptyroom/
]
---
.right-column-mid.larger[
* BIDS is a directory structure, based on common practices
* Builds on existing standards (NIfTI, JSON, TSV) and keeps M/EEG in its native formats (here, MEGIN/Elekta `.fif`)
* Intended for human *and* machine legibility
* The [BIDS Validator](https://bids-standard.github.io/bids-validator/)
makes compliance easy to verify
* The [specification](https://bids-specification.readthedocs.io/en/stable/)
is a searchable HTML document
]
???
This is the real layout of OpenNeuro ds000117, trimmed: 16 participants, each with an MRI session
(T1w, field maps, nine fMRI runs) and a MEG session (six runs, with EEG recorded simultaneously
by the same MEG system), plus a `sub-emptyroom` pseudo-subject with the empty-room noise recordings.
Nothing here is exotic: folders, file names, JSON and TSV.
The only binary blobs are the NIfTI images and the FIF recordings.
---
.right-column-mid.meta-steps[.no-bullet[* .larger[Basic metadata in the file names]
* Subject, session, task, run, data type...
* Generally just enough to assign unique names]]
--
.right-column-mid.meta-steps[.no-bullet[* .larger[JSON sidecars (and NIfTI headers)]
* Recording-specific metadata
* `_meg.json`: `SamplingFrequency`, `PowerLineFrequency`...]]
--
.right-column-mid.meta-steps[.no-bullet[* .larger[Study-level metadata]
* [`dataset_description.json`](https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/dataset-description.html),
[`participants.tsv`](https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/data-summary-files.html#participants-file),
[`scans.tsv`](https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/data-summary-files.html#scans-file)
* Shared metadata moves up the tree: `task-facerecognition_meg.json`
]]
???
Three levels of metadata, from the most specific to the most general.
The last bullet is the inheritance principle, which the next two slides unpack.
---
layout: true
template: newsection
---
# Anatomy of a BIDS filename
.boxed-content[