fieldtrip2mne

Convert MEG and EEG brain scan data from FieldTrip toolbox in Matlab to MNE toolbox in python.


Keywords
MNE, FieldTrip, converter, MATLAB, to, Python
License
BSD-1-Clause
Install
pip install fieldtrip2mne==0.0.7

Documentation

fieldtrip2mne

A Python module facilitating data conversion between MEG/EEG analysis toolboxes FieldTrip in MATLAB and MNE in Python. It works by reading FieldTrip data structures stored in .mat files and reassinging them to equivalent MNE structures. Several functions are provided to convert from different data types.

How to use

from fieldtrip2mne import read_raw

data = read_raw(filename)
from fieldtrip2mne import read_epoched

data = read_epoched(filename)
from fieldtrip2mne import read_avg

data = read_avg(filename)

License

This module is developed by Thomas Hartmann & Dirk Gütlin at the Universität Salzburg. You are free to use, copy, modify, distribute it under the terms of the BSD 2 clause license.