-
Notifications
You must be signed in to change notification settings - Fork 87
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
ch_type_mapping has no entry for chpi
#1323
Comments
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
thanks for the report, would you mind elaborating what this means?
We'd be happy to receive a PR as a fix. |
Not sure what you mean, but I can do a PR, but I would need to know which ch_type they would get according to MNE-BIDS: |
Ah thanks!
If these channels contain (or are primarily used for) brain data, then MEGOTHER, else I would say MISC.
No problem, perhaps you could open a PR and push the fix, and then wait with adding the test until you have time. |
Ah, I see that there is also
|
Yes, that seems even more appropriate. We just need to get the mapping between user, mne, and bids right. |
Description of the problem
MEGIN systems store chpi information in a channel called 'CHPI00X', which is read by
mne
as ch_typechpi
. However, this entry is missing in the mne to bids conversion dictionary.This leads to
Steps to reproduce
Choose a raw file that contains cHPI channels
then try to call
write_raw_bids
using that file or use the command line interfaceSolution
chpi
should be added to the channel mapping dictionary, probably asMEGOTHER
orMISC
?Somewhere after
mne-bids/mne_bids/utils.py
Line 62 in a99fe4d
Additional information
I'm using
mne==1.8.0
andmne_bids=='0.16.0.dev49+ga99fe4d'
The text was updated successfully, but these errors were encountered: