-
Notifications
You must be signed in to change notification settings - Fork 163
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
[FIX] Clarify that electrodes.tsv is optional for MEG, for use with simultaneous (i)EEG #1555
Conversation
7a9dfdd
to
2facc67
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1555 +/- ##
=======================================
Coverage 87.83% 87.83%
=======================================
Files 16 16
Lines 1356 1356
=======================================
Hits 1191 1191
Misses 165 165 ☔ View full report in Codecov by Sentry. |
2facc67
to
befd54c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @effigies!
Let's wait for further discussion based on my comment in:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(placing this here as a visual block, as this is not yet ready IMHO)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about this?
perhaps we should add a section about
electrodes.tsv
to the MEG section of the BIDS specification, and make corresponding schema adjustments.
I see that you have opted for not adding a new section and instead adding this information under Recording EEG simultaneously with MEG
. I think I'd be fine with that as well.
src/schema/rules/checks/meg.yaml
Outdated
@@ -0,0 +1,14 @@ | |||
# Rules for MEG data that cannot be defined in tables | |||
--- | |||
MEGElectrodesRecommended: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as outlined in #1550 (comment), I think this should be optional --> this electrode information can also be stored in _headshape.<ext>
files or sometimes in the data file format itself (Elekta/Neuromag/MEGIN).
@@ -98,8 +98,10 @@ it SHOULD be stored separately under a new `/eeg` data type | |||
If however EEG is recorded simultaneously **with the same MEG system**, | |||
it MAY be stored under the `/meg` data type. | |||
In that case, it SHOULD have the same sampling frequency as MEG (see `SamplingFrequency` field below). | |||
Furthermore, the EEG sensor coordinates SHOULD be specified using MEG-specific coordinate | |||
systems (see [coordinates section](#coordinate-system-json-_coordsystemjson) below and | |||
Furthermore, EEG sensor coordinates SHOULD be recorded in an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO the SHOULD should become a MAY.
So far, the spec allowed for recording electrode positions in the _headshape
: https://bids-specification.readthedocs.io/en/stable/glossary.html#headshape-suffixes
Fixes #1550.