Skip to content

BCI2000 .dat file reader #13151

Open
Open
@Sam54000

Description

@Sam54000

Describe the new feature or enhancement

Hi, I have worked with a lot of BCI2000 output data and noticed that there is no existing reader in MNE (as far as I know). BCI2000 is a very versatile software for multimodal acquisition and the most cited BCI tool. Therefore, I would like to contribute to the codebase by adding a Raw class dedicated to BCI2000 data and its associated reader for output files in .dat format. I hope this is relevant, and I really look forward to contributing to the codebase! Just need the blessing of the MNE elders ^^

Describe your proposed implementation

Reproducing the same implementation philosophy of other format (such RawEDF, RawEGI) I would like to add a Raw class dedicated to BCI2000 data that would be called RawBCI2k and the associated reader mne.io.read_raw_bci2k().
The BCI2000 community had already implemented a reader in python (see here) so I would like to take example of their reader and wrap it into a nice mne.io.read_raw_bci2k() function.
In order to avoid dependencies, I am going to write the class and the reader "from scratch" taking example from their reader and cite them.

Describe possible alternatives

As an alternative, I would work with the BCI2000 team in order to make their reader a python package. We would put the BCI2000 reader in the mne requirement (it would be installed alongside the other packages when installing mne). Then we would call their reader module when calling mne.io.read_raw_bci2k().

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions