Examples Gallery¶
The examples gallery provides working code samples demonstrating various analysis and visualization techniques. These examples often lack the narrative explanations seen in the tutorials, and do not follow any specific order. These examples are a useful way to discover new analysis or plotting ideas, or to see how a particular technique you’ve read about can be applied using MNE-Python.
Warning
These examples sometimes use simulations or shortcuts (such as intentionally adding noise to recordings) to illustrate a point. Use caution when copy-pasting code samples.
Input/Output¶
Recipes for reading and writing files. See also our tutorials on reading data from various recording systems and our tutorial on manipulating MNE-Python data structures.
Time-Frequency Examples¶
Some examples of how to explore time-frequency content of M/EEG data with MNE.
Machine Learning (Decoding, Encoding, and MVPA)¶
Decoding, encoding, and general machine learning examples.
Connectivity Analysis Examples¶
Examples demonstrating connectivity analysis in sensor and source space.
Forward modeling¶
From BEM segmentation, coregistration, setting up source spaces to actual computation of forward solution.
Inverse problem and source analysis¶
Estimate source activations, extract activations in labels, morph data between subjects etc.