[MRG] Update read_montage docstring#4400
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4400 +/- ##
==========================================
- Coverage 82.75% 82.47% -0.28%
==========================================
Files 349 349
Lines 63970 64291 +321
Branches 9851 9924 +73
==========================================
+ Hits 52938 53026 +88
- Misses 8306 8534 +228
- Partials 2726 2731 +5 |
|
oh, good you are switching easycap montages - it was a bit annoying. :) |
mne/channels/montage.py
Outdated
| GSN-HydroCel-256 HydroCel Geodesic Sensor Net (259 channels) | ||
| GSN-HydroCel-257 HydroCel Geodesic Sensor Net with Cz (260 channels) | ||
|
|
||
| 10-5_EGI129 465 channels |
There was a problem hiding this comment.
this would need more description
There was a problem hiding this comment.
I have no idea what kind of montage this is - it wasn't documented before. Anyone?
mne/channels/montage.py
Outdated
| biosemi64 BioSemi cap with 64 electrodes (67 channels) | ||
| biosemi128 BioSemi cap with 128 electrodes (131 channels) | ||
| biosemi160 BioSemi cap with 160 electrodes (163 channels) | ||
| biosemi256 BioSemi cap with 256 electrodes (259 channels) |
There was a problem hiding this comment.
these are a bit confusing - 256 electrodes but 259 channels. I know you write at the top that some contain fiducials, but maybe its better to write (256 channel positions, 3 fiducial points)?
There was a problem hiding this comment.
There is no property that distinguishes EEG channels from fiducials, this can only be inferred from the channel names. I don't know if it is really straightforward to make this distinction. The total number of channels in a given montage is easy and unique.
There was a problem hiding this comment.
I'm just saying that they are not all channels - some are channel positions and some fiducial points so saying 259 channels is misleading.
In case of biosemi fiducials are ['Nz', 'LPA', 'RPA'] and in the case of EGI they all start with Fid. At least in the case of biosemi and EGI I think it would be useful to wirte (256 channel positions, 3 fiducial points) so it is clear what the montage contents are.
There was a problem hiding this comment.
OK, I'll try to delineate where possible. What do we do with the strange new montage? It consists of half labels, half numbers?
There was a problem hiding this comment.
BTW - montages starting with standard also have 3 fiducial points ('Nz', 'LPA', 'RPA').
I don't know about the strange new montage - maybe it was undocummented for a reason? maybe @Eric89GXL or @agramfort knows?
There was a problem hiding this comment.
The standard montages seem to have more fiducials: Nz, LPA, RPA, A1, A2, M1, M2. That's what I meant, it is difficult to distinguish between real channel labels and fiducials, so I'm not sure if it's worth the effort. IMO it's sufficient to state this generally before, as it is currently implemented.
|
no objection to merge. let's merge when @mmagnuski is happy :) |
|
@mmagnuski I now list channels and fiducials separately for each montage. Remaining issues:
|
|
I have no idea about those montages. Can |
|
@dengemann added it a while ago |
|
Actually it's even older than that (need to look at the file pre-move to see its origin) @dengemann any ideas about this |
|
Where's that |
|
That commit I posted is for the weird |
|
I need to learn how to browse the history of moved files on GitHub... |
|
There is probably a better way, but from your link I clicked on the commit hash (to see the changes), then clicked the "1 parent f2523e1" (toward the top), then "Browse files" (upper right), and navigated to mne/montages/ and saw the file there, and could browse its history. |
|
Oh wow, didn't see the "parent" link - also you have to know where the file was previously... Thanks for pointing this out! 👍 |
|
@cbrnr can you open a separate issue for the weird montages? This can be merged separately from dealing with that, right? |
|
OK sure! Yes, these montages are separate issues. |
|
@mmagnuski are you happy, then? If so feel free to merge once the CIs are happy |
|
merge if you're happy
|
|
I'm almost happy :) So it seems that if fiducials are present in any montage there is always 3 of them. @Eric89GXL - I dont have merge priviliges :( |
|
Yes, M1 and M2 are mastoids. Together with A1 and A2, they're not fids, but electrodes. |
|
OK done - could someone please restart the failed Travis job? |
|
Restarted it |
|
All CIs are happy, I don't know why coverage decreased, this should be unrelated. I guess ready to merge. |
|
Yes, I don't get codecov these days... |
* Update read_montage docstring * List channels and fiducials separately for each montage * Fix number of fiducials

I've updated the docstring of the
mne.channels.read_montagefunction. Specifically, I haveeasycap-M1andeasycap-M10,