{ "nbformat_minor": 0, "nbformat": 4, "cells": [ { "execution_count": null, "cell_type": "code", "source": [ "%matplotlib inline" ], "outputs": [], "metadata": { "collapsed": false } }, { "source": [ "\n\nBasic MEG and EEG data processing\n=================================\n\n![](http://mne-tools.github.io/stable/_static/mne_logo.png)\n\n\nMNE-Python reimplements most of MNE-C's (the original MNE command line utils)\nfunctionality and offers transparent scripting.\nOn top of that it extends MNE-C's functionality considerably\n(customize events, compute contrasts, group statistics, time-frequency\nanalysis, EEG-sensor space analyses, etc.) It uses the same files as standard\nMNE unix commands: no need to convert your files to a new system or database.\n\nWhat you can do with MNE Python\n-------------------------------\n\n - **Raw data visualization** to visualize recordings, can also use\n *mne_browse_raw* for extended functionality (see `ch_browse`)\n - **Epoching**: Define epochs, baseline correction, handle conditions etc.\n - **Averaging** to get Evoked data\n - **Compute SSP projectors** to remove ECG and EOG artifacts\n - **Compute ICA** to remove artifacts or select latent sources.\n - **Maxwell filtering** to remove environmental noise.\n - **Boundary Element Modeling**: single and three-layer BEM model\n creation and solution computation.\n - **Forward modeling**: BEM computation and mesh creation\n (see `ch_forward`)\n - **Linear inverse solvers** (dSPM, sLORETA, MNE, LCMV, DICS)\n - **Sparse inverse solvers** (L1/L2 mixed norm MxNE, Gamma Map,\n Time-Frequency MxNE)\n - **Connectivity estimation** in sensor and source space\n - **Visualization of sensor and source space data**\n - **Time-frequency** analysis with Morlet wavelets (induced power,\n intertrial coherence, phase lock value) also in the source space\n - **Spectrum estimation** using multi-taper method\n - **Mixed Source Models** combining cortical and subcortical structures\n - **Dipole Fitting**\n - **Decoding** multivariate pattern analyis of M/EEG topographies\n - **Compute contrasts** between conditions, between sensors, across\n subjects etc.\n - **Non-parametric statistics** in time, space and frequency\n (including cluster-level)\n - **Scripting** (batch and parallel computing)\n\nWhat you're not supposed to do with MNE Python\n----------------------------------------------\n\n - **Brain and head surface segmentation** for use with BEM\n models -- use Freesurfer.\n\n\n
This package is based on the FIF file format from Neuromag. It\n can read and convert CTF, BTI/4D, KIT and various EEG formats to\n FIF.
The expected location for the MNE-sample data is\n ``~/mne_data``. If you downloaded data and an example asks\n you whether to download it again, make sure\n the data reside in the examples directory and you run the script from its\n current directory.\n\n From IPython e.g. say::\n\n cd examples/preprocessing\n\n\n %run plot_find_ecg_artifacts.py
In IPython, you can press **shift-enter** with a given cell\n selected to execute it and advance to the next cell:
The MNE sample dataset should be downloaded automatically but be\n patient (approx. 2GB)