question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support any elc file with set_montage

See original GitHub issue

Describe the new feature or enhancement

As discussed with @rob-luke, we think it could be interesting to have the possibility to set a montage with any elc file with MNI coordinates.

Describe your proposed implementation

Given a custom elc montage file my-montage.elc with MNI coordinates standardised the same way as other existing elc files, it would be great to have an API like this:

# Detailed implementation
my_montage = mne.channels.make_standard_montage('path/to/my-montage.elc')
raw.set_montage(my_montage)

# With also the possibility to use it in one step
raw.set_montage('path/to/my-montage.elc')

Describe possible alternatives

Alternatives include having a separate function set_custom_elc_montage which takes the raw or epochs or evoked object and the montage path as arguments.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rob-lukecommented, Apr 22, 2021

Great catch. Maybe worth adding to the new tutorial too?

1reaction
agramfortcommented, Apr 19, 2021

ok why not then. PR welcome

Read more comments on GitHub >

github_iconTop Results From Across the Web

mne.channels.read_custom_montage
The size of the head (radius, in [m]). If None , returns the values read from the montage file with no modification. Defaults...
Read more >
UC ELC Download Files - Aeries Support
For any questions regarding uploading the UC ELC Extract or Student Contact Data file please contact the ELC Help Desk at 800-839-8507.
Read more >
Supported File Types | Assignments | Assessments - eLC Help
Choices include: Annotatable files, which include all file types that are supported by the Annotation tool in Assignments. For more information, see File...
Read more >
How To Open File With ELC Extension?
The solution is straightforward, just download and install Emacs. On the top of the page a list that contains all programs grouped based...
Read more >
Requesting Equitrac Office or Express ELC files - Kofax
ELC Files can be requested by opening a Support case. In order for our licensing team to generate an ELC file, the following...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found