-
Notifications
You must be signed in to change notification settings - Fork 92
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
[MRG, DOC] Fix whats_new.rst link #1032
Conversation
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
I had an issue with my docs in #1030 as well and the build passed. Something is off. |
Where did you read this? Electrode positions should be written to |
The distinction between
An EOG / ECG / EMG is not comprised of a single point of contact between the acquisition system and the recording site. Usually, it's a bipolar channel connected to 2 electrodes. And it does not have a location associated with it. IMO, those 2 points make it fall under the |
I disagree; a common scheme is to e.g. place an EOG electrode below the eye and use Fp1/Fp2 as the bipolar counterpart. If you have measured a location for those electrodes, they should end up in electrodes.tsv I think you're confusing electrodes and channels here. |
The specs also specifically mention the bipolar case:
|
In fact, their example even suggests to add EOG electrodes to electrodes.tsv even if you don't have the locations: So I'm -1 on this change here |
Then what about ECG and EMG? I think all 3 should be treated in the same way: they measure muscle activity via a bipolar layout. With ECG / EMG, an electrode from the EEG layout will (probably?) never be used as a bipolar counterpart, while for EOG it is indeed classic to use either Fp1/Fp2 as one of the counterparts, or even other electrodes. e.g. the ANT Neuro recent caps have a droplead electrode for EOG which is referenced to the same electrode as all the EEG electrodes: CPz (you can re-reference that channel to Fp1/Fp2 in your processing). But in the end, it is still a channel with a bipolar layout, which does not measure brain activity but muscle activity, and which does not have one specific position. If for instance my EOG channel is not using Fp1/Fp2, but 2 electrodes on a bipolar aux channel, we end up in the case where it should not be included in the My point of view as a light-BIDS user ;) Let me know and I'll adapt accordingly. I'll return to this tomorrow or on Monday. |
this is related to: |
Hah, I already had strong opinions on this entire mess a year ago: |
I don't see why it shouldn't be included? I don't think the specs say, "must only include electrodes that measure brain activity". It's any electrodes that go into this file… Having two distinct electrode locations for what later becomes a single channel is precisely what electrodes.tsv is made for. Our problem is that currently, when reading, we silently assume that electrodes.tsv contains an EEG montage, which is not necessarily the case (and not warranted by the BIDS specs) |
without having read everything in this thread, my opinion is:
--> writing We should do our best in mne-bids, and then write guides for the stuff we cannot easily automate. |
Idea on how to move forward here: In addition to all (i)EEG channels, Write all channels for which we have locations to electrodes.tsv. My thinking is that if a channel has a location, then it has a unique physical location and hence it's safe to assume it's an electrode Thoughts? |
Thank you for the clarification. That distinction between I'll revert the changes in this PR and will keep the doc fix for #1023. |
Codecov Report
@@ Coverage Diff @@
## main #1032 +/- ##
=======================================
Coverage 95.18% 95.18%
=======================================
Files 25 25
Lines 3778 3778
=======================================
Hits 3596 3596
Misses 182 182 Help us with your feedback. Take ten seconds to tell us how you rate us. |
🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪 |
Thanks @mscheltienne |
Spotted in #1006
If I read the BIDS specification correctly, a bipolar channel such as EOG, ECG, EMG should not be written to the sidecar:
I amended the fix for
stim
channels in #1023 to include alsoeog
,ecg
andemg
channels.Also, I'm surprised the doc-build did not complain in #1023, in
whats_new.rst
the_
was badly placed. I fixed it here and added myself and @scott-huberty to theauthors.rst
file.