Skip to main content

A new backend based on pyqtgraph for the 2D-Data-Browser in MNE-Python.

Project description

mne-qt-browser

A new backend based on pyqtgraph for the 2D-Data-Browser in MNE-Python.

This repository hosts the code for an alternative backend for plotting 2D-Data with MNE-Python.

The backend is based on pyqtgraph which uses Qt's Graphics View Framework for the plotting. Development started as a 2021's Google Summer of Code Project. Currently, only Raw.plot() is supported. For the future support for Epochs and ICA-Sources is planned.

Usage

Import mne-python

import mne

To use the new backend, set pyqtgraph as backend with

mne.viz.set_browser_backend("pyqtgraph")

or to set it permanently with

mne.set_config('MNE_BROWSE_BACKEND', 'pyqtgraph')

Then load and plot your Raw-data, e.g. by using:

raw = mne.io.read_raw("path to your data")
raw.plot(block=True)

If you want to try the browser with the sample-dataset from mne-python, run mne-qt-browser from the terminal.

Report Bugs & Feature Requests

Please report bugs and feature requests in the issues of this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mne-qt-browser-0.1.3.tar.gz (38.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page