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.

Enable exporting EDF files

See original GitHub issue

Describe the new feature or enhancement

There are gists available for using PyEDFlib to write EDF files, and pyedflib seems to be relatively well maintained and used.

This proposal is to enable exporting EDF files, with a warning of course that there maybe loss of data in the info object. This would also enable mne-bids to perform writing EDF file datasets, which is a RECOMMENDED file format for storage of EEG/iEEG data.

In addition, this would enable writing to an open-access file format that is heavily interfaced in EEG industry. For example, Persyst, an EEG-analytics company can only read in manufacturing formats (natus/NK/etc.) and EDF. It cannot read fiff, BrainVision, or other open source formats.

Describe your proposed implementation

This would extend https://github.com/mne-tools/mne-python/pull/9192 to add EDF file exporting. This would add an optional dependency with pyedflib (https://github.com/holgern/pyedflib).

Additional comments

Related issue in mne-bids: https://github.com/mne-tools/mne-bids/issues/840

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
Teunizcommented, Aug 5, 2021

Just a friendly ping to see if there was any update on getting a PyPi release?

It’s done, you can find it here: https://pypi.org/project/EDFlib-Python/

3reactions
Teunizcommented, Jul 16, 2021

@Teuniz would you be open to doing a PyPi release of python EDFlib? One of us could help out with the changes needed for packaging, if that makes a difference. If not, I think our only option for using EDFlib is incoporating the writer into our externals/ (which we tend to be hesitant to add things to)

I’ll look into it, I have never done it before but I have a colleague with lots of Python experience. It’s just that we are entering the holiday period here, so it will take some time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exporting .e Files (Nicolet) to EDFs - Discussions
Right-Click > Import MEG/EEG > Select my .e File > Select all the data from the sleep list and process them using concatenate...
Read more >
Export to EDF | Alias Products
Export to EDF ; Choose File > Export > Active As or File > Save As . ; Select EDF as the file...
Read more >
Exporting EDF Files in Noxturnal - Nox Support
This support article explains how to export EDF files in Noxturnal. Start by opening the recording that should be exported as an EDF...
Read more >
Getting started with EDF (European Data Format) data
The original EDF format did not allow for storing triggers or events. ... EDF files that are exported from EGI NetStation.
Read more >
EDF FAQ
Neither would you loose any of the original simplicity or flexibility. Some answers define EDF export more strictly than the official specs do....
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