Skip to content

Read .BVEF files #4070

Closed
Closed

Description

@jbschiratti

(Hello,)

The function mne.channels.read_montage currently does not support files with the .BVEF extension (BrainVision Electrodes File). These BVEF files have are XML files which contain the names of the electrodes and their position (in spherical coordinates). AP-64.txt is a BVEF file that I converted to TXT so that you can see what it contains.

Brainstorm has a function which reads such BVEF files (https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/io/in_channel_brainvision.m). By looking at their code, I was able to modify the mne.channels.read_montage function so that it reads BVEF files.

If you want, I can make a PR.

Activity

  1. larsoner commented on Mar 14, 2017

    @larsoner
    Member

    By looking at their code, I was able to modify the mne.channels.read_montage function so that it reads BVEF files.

    Brainstorm is GPL licensed, so we can't look at their code to make an implementation.

    You can email them to ask permission to re-license as BSD. Otherwise we need someone to start from scratch, or find code with a compatible license to work from.

  2. agramfort commented on Mar 14, 2017

    @agramfort
    SponsorMember
  3. jaeilepp commented on Apr 11, 2017

    @jaeilepp
    Contributor

    This got done in #4109.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions