Warning

  • Some Visbrain’s examples are based on data that need to be downloaded. Those data are downloaded inside the folder ~/visbrain_data/example_data

  • You may encounter a window transparency error. This is a known issue of the Vispy package (see https://github.com/vispy/vispy/pull/1394)

Examples

SceneObj : combine objects into subplots

Each Visbrain’s object inherits a method called preview which basically display the object. The SceneObj object can be used to combine objects into subplots.

The following examples illustrate how to combine those objects into a grid of subplots.

Animate objects in the scene

Animate objects in the scene

Brain object (BrainObj) : complete tutorial

Brain object (BrainObj) : complete tutorial

Combine multiple objects

Combine multiple objects

Connectivity object (ConnectObj) : complete tutorial

Connectivity object (ConnectObj) : complete tutorial

Grid of signals object (GridSignalsObj) : complete tutorial

Grid of signals object (GridSignalsObj) : complete tutorial

Image, time-frequency map and spectrogram objects

Image, time-frequency map and spectrogram objects

Phase-Amplitude Coupling (PAC) object

Phase-Amplitude Coupling (PAC) object

Region Of Interest object (RoiObj) : complete tutorial

Region Of Interest object (RoiObj) : complete tutorial

Source object (SourceObj) : complete tutorial

Source object (SourceObj) : complete tutorial

Topoplot object (TopoObj) : complete tutorial

Topoplot object (TopoObj) : complete tutorial

Time-series and pictures 3D (TimeSeries3DObj & Picture3DObj): complete tutorial

Time-series and pictures 3D (TimeSeries3DObj & Picture3DObj): complete tutorial

Volume object (VolumeObj) : complete tutorial

Volume object (VolumeObj) : complete tutorial

Plot x3d files

Plot x3d files

Graphical user interface : Brain

Examples demonstrating visualizations on a standard 3D-MNI brain.

Brain control

Brain control

Cross-sections and volume control

Cross-sections and volume control

Define a brain template using vertices and faces

Define a brain template using vertices and faces

Add deep sources

Add deep sources

Connect deep sources

Connect deep sources

Add Region of interest (ROI)

Add Region of interest (ROI)

Add time series

Add time series

Add pictures

Add pictures

Screenshot example

Screenshot example

Add multiple objects to the scene

Add multiple objects to the scene

Add Nifti volume

Add Nifti volume

Add vectors

Add vectors

Parcellize brain surface

Parcellize brain surface

Graphical user interface : Sleep

Examples demonstrating how to use Sleep and how to load files.

Basic configuration

Basic configuration

Load a BrainVision file

Load a BrainVision file

Load EDF file

Load EDF file

Load EDF file with custom vigilance state configuration

Load EDF file with custom vigilance state configuration

Load ELAN files

Load ELAN files

Load a Matlab file

Load a Matlab file

Load REC files

Load REC files

Load a file using MNE-python

Load a file using MNE-python

Get sleep statistics

Get sleep statistics

Matplotlib plot of an hypnogram

Matplotlib plot of an hypnogram

Replace detection algorithm : basic example

Replace detection algorithm : basic example

Replace detection with wonambi algorithm

Replace detection with wonambi algorithm

Graphical user interface : Signal

Examples demonstrating how to use the Signal module.

Plot a 1D signal

Plot a 1D signal

Plot a 2D array of data

Plot a 2D array of data

Plot a 3D array of data

Plot a 3D array of data

Interface customization

Interface customization

Import, save and add annotations

Import, save and add annotations

Screenshot tutorial

Screenshot tutorial

Butterfly plot

Butterfly plot

EEG/MEG Examples

EEG/MEG examples (reproduction of MNE and PySurfer examples).

Display conjunction map

Display conjunction map

Display fMRI activation

Display fMRI activation

Plot forward solution

Plot forward solution

Plot MEG inverse solution

Plot MEG inverse solution

Plot source space

Plot source space

Plot vector-valued MEG inverse solution

Plot vector-valued MEG inverse solution

Figure Examples

Examples demonstrating figure layout.

Generate pictures

Generate pictures

Page layout example

Page layout example

Gallery generated by Sphinx-Gallery