-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What to call modality directory vs the modality entity? #584
Comments
Is this BIDS compliant ? I wouldn't expect it to be. My read of the specification is that EDIT: I found that section confusing in the last release, so I had a PR a couple of weeks ago to clean it up. I'm biased, but I think the latest version of the spec is a bit easier to parse, specifically on this issue. |
humm interesting ... but in that specific example above, the folder is not sub-01/ses-01/T2w/sub-01_ses-01_mod-T2w_defacemask.nii.gz Is the modality not what you get after session level? You have "modality agnostic files" and "modality specific files" in the table of contents of the specification. Are T1w and T2w also modalities? We're just wondering in MNE-BIDS if we can call the folder level directory (meg/eeg/ieeg/anat) "modality" but there is also a usecase where you have |
The folders are "data types" and the suffixes are "modalities", although I think the way the specification sections are currently labeled somewhat muddies the distinction between "modality" and "technology" (see #571 for some discussion on this). "Data type", while confusingly named, is separately defined. |
Ah I see, so perhaps on our software end, we can use semantics such as |
I plan to open an issue about defining "modality" under the Common principles soon. Unless you want to? |
Yeah feel free to do it for
just kidding found it: https://bids-specification.readthedocs.io/en/stable/02-common-principles.html |
Umm, but what about sidecar files like |
To me "data type" and "suffix" are clear BIDS concepts. Modality is not
the suffix to me (see example from @hoechenberger )
not sure where this needs to be clarified in the standard but a few
sentences like
Depending on data modality (MRI, MEG, EEG) data are placed in subfolder
that correspond
to the data type: Functional MRI are of data type 'func', anatomical MRI
are of data type 'anat'
etc...
my 2c
… |
Yes, @yarikoptic and I have been discussing this very issue in #571. @yarikoptic made the interesting point that he sees the related term "modality_label" as a subgroup of "suffix." To quote him:
In my opinion, the next step is to define modality under Common principles, whether as a subgroup of suffix or as a synonym. EDIT: I ended up opening #586. |
Will #592 close this as well? |
I believe so. I think the original question has been answered here, but #592 answers it in the specification. |
Problem
Currently in the standard, there is this notion of a
modality
, which I totally assumed meanteeg
,meg
,ieeg
,anat
, etc. So therefore they would be the "modality" directories that followed subject and session. For example:sub-01/ses-01/<modality>/
However, there is also a
modality
entity which is primarily used inanat
sub-directories to differentiate various imaging modalities. This shows up likesub-01/ses-01/anat/sub-01_ses-01_mod-T2w_defacemask.nii.gz
.Anat using
modality
in different ways:https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/01-magnetic-resonance-imaging-data.html#anatomy-imaging-data
Entity table:
https://bids-specification.readthedocs.io/en/stable/99-appendices/04-entity-table.html
Expectation
It would be helpful to have the specification explicitly define what to call the directory level names vs. the filename specific
modality
entity. Since calling them bothmodality
leads to a bit of confusion since there is no good 1-1 matching.Idk what's the right answer here so would be helpful to get some thoughts and then I can PR if it's feasible :p.
Additional Info
See a problem that surfaced in mne-bids at: mne-tools/mne-bids#519 (comment)
cc @jasmainak @sappelhoff @hoechenberger @agramfort
The text was updated successfully, but these errors were encountered: