Skip to content
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

Standard Montage: easycap-M43 (63 equidistant electrodes) #11737

Closed
3 tasks done
dasdiptyajit opened this issue Jun 16, 2023 · 1 comment
Closed
3 tasks done

Standard Montage: easycap-M43 (63 equidistant electrodes) #11737

dasdiptyajit opened this issue Jun 16, 2023 · 1 comment
Labels

Comments

@dasdiptyajit
Copy link
Contributor

dasdiptyajit commented Jun 16, 2023

Describe the new feature or enhancement

In our Auditory cognition Lab (Heidelberg, Germany), we use Easycap-M43 eeg cap (63 equidistant electrodes +1 Ref) to record the eeg signals. It's standard layout is currently not available in MNE/FieldTrip software.

Recently, I have received the lookup table for this layout via the manufacture (Easycap) in an excel (.xls) format. I have already converted the original lookup table into a .txt file and created a standard montage out of it. I would like to add (implement) the layout as a standard montage in MNE, so that others can use it in the future.

Describe your proposed implementation

Easycap-M43 standard montage can be read by mne.channels.make_standard_montage('easycap-M43')

Describe possible alternatives

Steps to implement:

  1. Add the montage coordinates as a .txtfile.
  • easycap-M43.txt file should be added to the path: mne/channels/data/montages/
  1. API changes
  • Update/add easycap-M43 montage information in _BuiltinStandardMontage class under montage.py, something like this:

code:

    _BuiltinStandardMontage(
        name="easycap-M43",
        description="EasyCap with numbered electrodes (64 locations)",
    )]
  • Update/add montage lookup table information in standard_montage_look_up_table API.

code:

standard_montage_look_up_table = {
    "easycap-M43": partial(_easycap, basename="easycap-M43.txt"),
}

I have already implemented and tested the steps in my local mne environment. I am happy to contribute i.e., create a PR for the changes.

Additional context

No response

@sappelhoff
Copy link
Member

closed in #11744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants