# fif file to edf file convertion

**URL:** <https://mne.discourse.group/t/fif-file-to-edf-file-convertion/2257>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [July 12, 2020, 10:02pm UTC](https://mne.discourse.group/t/fif-file-to-edf-file-convertion/2257 "2020-07-12T22:02:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 12, 2020, 10:02pm UTC](https://mne.discourse.group/t/fif-file-to-edf-file-convertion/2257/1 "2020-07-12T22:02:36Z")

</div>

External Email - Use Caution

Dear all,  
Is there any way to convert MNE .fif file into .edf file?

Br,  
Fatema  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200712/3bcb33fd/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200712/3bcb33fd/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 13, 2020, 9:19am UTC](https://mne.discourse.group/t/fif-file-to-edf-file-convertion/2257/2 "2020-07-13T09:19:23Z")

</div>

Not within MNE itself, for that you'll need an external package such as  
pyedf: [https://github.com/bids-standard/pyedf](https://github.com/bids-standard/pyedf)

Note that pyedf doesn't yet support Python 3 (hopefully that will change  
in the next week or so).

Depending on why you want an EDF file, you might also be served by a  
BrainVision file. In that case, I recommend my own philistine  
([https://philistine.readthedocs.io/en/latest/api/philistine.mne.write\_raw\_brainvision.html](https://philistine.readthedocs.io/en/latest/api/philistine.mne.write_raw_brainvision.html))  
for ease of use in exporting from MNE. The BIDS folks have also taken  
that code and made a version that doesn't depend on MNE:  
[https://github.com/bids-standard/pybv](https://github.com/bids-standard/pybv)

Best,

Phillip

> ???External Email - Use Caution???
> 
> Dear all,  
> Is there any way to convert MNE??/.fif? /file into/.edf /file?
> 
> Br,  
> Fatema
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne\_analysis](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200713/f2ea5d4d/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200713/f2ea5d4d/attachment.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: signature.asc  
Type: application/pgp-signature  
Size: 488 bytes  
Desc: OpenPGP digital signature  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200713/f2ea5d4d/attachment.bin](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200713/f2ea5d4d/attachment.bin)  
-------------- next part --------------  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20200713/f2ea5d4d/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200713/f2ea5d4d/attachment-0001.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 13, 2020, 9:53am UTC](https://mne.discourse.group/t/fif-file-to-edf-file-convertion/2257/3 "2020-07-13T09:53:54Z")

</div>

External Email - Use Caution

Hello!

MNELAB ([https://github.com/cbrnr/mnelab](https://github.com/cbrnr/mnelab)) supports converting files to EDF (as well as several additional formats). Just open the FIFF file and select File - Export data - FIF (or FIF.GZ).

Clemens
