Tutorial

Dependencies

MNELAB requires Python ≥ 3.8 and the following packages:

Optional dependencies provide additional features:

  • scikit-learn ≥ 1.0.0 (ICA computation with FastICA)

  • python-picard ≥ 0.7.0 (ICA computation with PICARD)

  • pyEDFlib ≥ 0.1.22 (EDF/BDF export)

  • pybv ≥ 0.7.4 (BrainVision VHDR/VMRK/EEG export)

Installation

You can install MNELAB with pip:

pip install mnelab

If you want to use all MNELAB features, the full package including optional dependencies can be installed with:

pip install mnelab[full]

You can also use pipx to install MNELAB in a completely isolated environment:

pipx install mnelab

If you want the latest development version, use the following command:

pip install git+https://github.com/cbrnr/mnelab

Then start MNELAB in a terminal with mnelab.

First steps

The main window of MNELAB consists of a menu bar (A), a toolbar (B), a sidebar (C), an info panel (D), and a status bar (E):

empty window

The main window looks pretty empty initially. In fact, almost all commands are disabled until you load a data set:

menu disabled

Click on the “Open” icon in the toolbar or select File – Open… and pick a file in the dialog window. The name of the loaded file appears in the sidebar, and the info panel shows information about the data set:

file loaded

Select Plot – Plot data to visualize the time course of the individual channels:

plot menu