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

Adding support for brainvision format #21

Merged
merged 8 commits into from
Jan 28, 2025
Merged

Adding support for brainvision format #21

merged 8 commits into from
Jan 28, 2025

Conversation

hubertjb
Copy link
Contributor

@hubertjb hubertjb commented Jan 24, 2025

This PR adds support for dumping/loading mne.io.Raw objects using the BrainVision file format. As we still need to cache MEG data using .fif, the approach I took here is to identify the channel types before dumping, and to do some trial/error when loading.

TODO:

  • Review file format selection logic at dumping and loading time @kingjr
  • Organize the multiple files (.eeg, .vhdr, .vmrk) into a single directory per item
  • Handle float64 warning when dumping to BrainVision format

@hubertjb hubertjb requested review from kingjr and jrapin January 24, 2025 18:35
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 24, 2025
exca/dumperloader.py Outdated Show resolved Hide resolved
exca/dumperloader.py Outdated Show resolved Hide resolved
exca/dumperloader.py Outdated Show resolved Hide resolved
exca/dumperloader.py Outdated Show resolved Hide resolved
@hubertjb hubertjb changed the title [WIP] Adding support for brainvision format Adding support for brainvision format Jan 28, 2025
exca/dumperloader.py Show resolved Hide resolved
exca/dumperloader.py Outdated Show resolved Hide resolved
@hubertjb hubertjb merged commit 240f939 into main Jan 28, 2025
3 checks passed
@hubertjb hubertjb deleted the raw-brainvision branch January 28, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants