Attention: The Keycloak upgrade has been completed. As this was a major upgrade, there may be some unexpected issues occurring. Please report any issues you find to support by using the contact form found at https://www.ebrains.eu/contact/. Thank you for your patience and understanding. 


Wiki source code of Widget PhasePlane

Version 1.5 by teodoramisan on 2023/01/03 12:48

Hide last authors
teodoramisan 1.1 1 Source code: [[https:~~/~~/github.com/the-virtual-brain/tvb-widgets>>https://github.com/the-virtual-brain/tvb-widgets]]
2
3 Immediate testing: [[https:~~/~~/lab.ch.ebrains.eu/user/teodoramisan/lab/workspaces/auto-3/tree/shared/TVB%20Widgets/REPO/tvb-widgets/notebooks/PhasePlane.ipynb>>https://lab.ch.ebrains.eu/user/teodoramisan/lab/workspaces/auto-3/tree/shared/TVB%20Widgets/REPO/tvb-widgets/notebooks/PhasePlane.ipynb]]
4
5 == Purpose ==
6
7 It is a Jupyter Widget intended for the visualization of the interactive phase-plane.
8
9 It provides sliders for setting:
10
teodoramisan 1.3 11 * (((
12 The value of all parameters of the Model.
13 )))
14 * (((
15 The extent of the axes.
16 )))
17 * (((
18 A fixed value for the state-variables which aren't currently selected.
19 )))
20 * (((
21 The noise strength, if a stochastic integrator is specified.
22 )))
teodoramisan 1.1 23
24 and dropdown lists for selecting:
25
teodoramisan 1.3 26 * (((
27 Which state-variables to show on each axis.
28 )))
29 * (((
30 Which mode to show, if the Model has them.
31 )))
teodoramisan 1.1 32
teodoramisan 1.4 33 Entering the coordinates in the X,Y Coordinate Boxes will generate a sample
34 trajectory, originating from the coordinates entered.
35
36 == Inputs ==
37
38 Phase-Plane viewer will be represented in the beginning based on the parameters that it receives:
39
40 * Model (Generic2dOscillator, Epileptor, Hopfield, etc.)
41 * Integrator (HeunDeterministic, HeunStochastic, Identity, etc.)
teodoramisan 1.5 42
43 == Requirements and installation ==
44
45 Before installing the tvb-widgets library containing the PhasePlane widget, the following python libraries and Jupyter extensions should be installed:
46
47 * **Libraries:**
48
49 ​​​​​​[[ipympl>>https://github.com/matplotlib/ipympl#installation]]
50
51 * **Extensions:**
52
53 (% class="box" %)
54 (((
55 jupyter labextension install @jupyter-widgets/jupyterlab-manager
56
57 jupyter labextension install jupyter-matplotlib
58 )))
59
60 Then, to install the tvb-widgets library, just type:
61
62 (% class="box" %)
63 (((
64 pip install tvb-widgets
65 )))
Public

TVB Widgets