Widget TimeSeries
Version 10.1 by rominabaila on 2022/04/12 09:30
Purpose
It is a Jupyter widget intended for the visualization of brain signals represented as time series.
Inputs
It supports time series inputs of two types:
- TVB TimeSeries datatype
- Numpy arrays
The widget supports 2-, 3-, and 4-dimensional arrays. In all three cases, there is a fixed shape that the TimeSeries widget expects:
- for 2D: (no_timepoints, no_channels)
- for 3D: (no_timepoints, state_variable/mode, no_channels)
- for 4D: (no_timepoints, state_variable, no_channels, mode)
* Note that the TVB TimeSeries datatype is always is always 4D and already has the expected shape.
Requirements and installation
Before installing the tvb-widgets library containing the TimeSeries widget, the following python libraries and Jupyter Notebook extensions should be installed:
- Libraries:
Extensions:*
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
Then, to install the tvb-widgets library just type:
pip install tvb-widgets