1. Signal

Quick description _images/signal_ico.png

Signal is a data-mining module for 1-D, 2-D and 3-D datasets. It tries to offer a convenient way to inspect datasets, locate bad trials and reveal time-frequency properties.

Checkout the API of the visbrain.Signal class.


1.1. GUI Description

The GUI of the Signal module is subdivided into to two distinct components :

  • The grid : each datasets is re-arranged into a clickable 2-D grid so that all of the time-series of a dataset are represented inside. This idea of a grid was originally present into the VisPy examples and has been adapted for brain signals.
  • The signal canvas : the second layout display one trial at a time. This trial can either be represented as a continuous line or markers. It’s also possible to compute the histogram, time-frequency map or PSD.

1.2. Main features

Grid disposition
  • 2-D and 3-D datasets are disposed into a grid for an overview of an entire dataset
  • Zoom, translate and double click on a signal to enlarge it
Signal inspection
  • Plot one time-series at a time
  • Navigate across all of the time-series present in the dataset
  • Change the plotting form (continuous line, markers, histogram, time-frequency map, power spectrum density (PSD))
  • Load and export annotated trials
  • De-trending and de-meaning
  • Filtering (lowpass, highpass, bandpass, bandstop)
  • Extract the amplitude, phase or power in specific frequency bands
  • Take a screenshot (of the entire window, or the grid canvas only or of the signal canvas only)

1.3. Import and use Signal

The Signal module can be imported as follow :

from visbrain import Signal

1.4. Shortcuts

  • go = Grid canvas only
  • so = Signal canvas only
Keys Description
Double click (go) Enlarge signal under the mouse cursor
n (so) Go to the next signal
b (so) Go to the previous signal
Double click (so) Insert annotation
g Display / hide grid
s Display / hide signal
<delete> (go and so) Reset the camera
CTRL + t Display shortcuts
CTRL + d Display / hide setting panel
CTRL + n Take a screenshot
CTRL + q Close Sleep graphical interface