Attention: Data Proxy will be migrated from SWIFT to S3 storage at Friday, the 9th of May 2025 starting from 9pm CEST (my timezone). For more details, please join the rocket chat channel https://chat.ebrains.eu/channel/data-proxy-user-group


Wiki source code of TVB Widgets

Last modified by ldomide on 2023/05/17 17:25

Show last authors
1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
5 = TVB inspired GUI Widgets =
6
7 //code in [[https:~~/~~/github.com/the-virtual-brain/tvb-widgets>>https://github.com/the-virtual-brain/tvb-widgets]] , //[[https:~~/~~/github.com/the-virtual-brain/tvb-ext-bucket>>https://github.com/the-virtual-brain/tvb-ext-bucket]],// //[[https:~~/~~/github.com/the-virtual-brain/tvb-ext-xircuits>>https://github.com/the-virtual-brain/tvb-ext-xircuits]]//and [[https:~~/~~/github.com/the-virtual-brain/tvb-ext-unicore>>https://github.com/the-virtual-brain/tvb-ext-unicore]]//
8
9 **for EBRAINS showcases**
10 )))
11 )))
12
13 (% class="row" %)
14 (((
15 (% class="col-xs-12 col-sm-8" %)
16 (((
17 == What can I find here? ==
18
19 * Description of TVB GUI Widgets
20 * Installation and usage guidance
21 * Basic usage examples
22
23 === Authors ===
24
25 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)**SDL Neuroscience Juelich**: Sandra Diaz (lead)
26 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)**INS Marseille**: Jan Fousek (PO)
27 * [[(% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)**Codemart**>>https://www.codemart.ro/codemart/zwei/||rel="noopener noreferrer" target="_blank"]](%%): Paula Prodan, David Bacter, Romina Baila, Teodora Misan, Rares Horge, Jochen Mersmann, Lia Domide (technical team)
28
29 === Concepts ===
30
31 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)GUI, Widgets
32 * (% style="color:#595959; font-family:Arial; font-size:18.6667px; white-space:pre-wrap" %)JupyterLab Extensions
33 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)data-oriented arch, API, DataTypes
34 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)HPC backends and monitoring
35 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)KG integration
36 * (% style="color:#595959; font-family:Arial; font-size:14pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)GUI workflow editing
37
38 (% class="western" id="HMOTIVATION" lang="en-AU" style="border: none; padding: 0in;" %)
39 == (% style="line-height:150%" %)**MOTIVATION**(%%) ==
40
41 (% class="western" lang="en-AU" style="border:none; padding:0in" %)
42 (% style="line-height:150%" %)The showcases developed in the last phase of the HBP are meant to illustrate the full potential of technical and scientific features offered by EBRAINS. In order to support the usability of the showcases, as well as future EBRAINS workflows, we have developed a set of modular graphic components and software solutions, which can be easily deployed or replicated in the EBRAINS Collaboratory within the [[JupyterLab>>https://lab.ebrains.eu/||rel="noopener noreferrer" target="_blank"]].
43
44 (% class="western" lang="en-AU" style="border:none; padding:0in" %)
45 (% style="line-height:150%" %)These graphical user interfaces (GUI) components are all based on and under open source licences, supporting open neuroscience and they enable features like:
46
47 * (% style="line-height:150%" %)Easy setup of models and region specific or cohort simulations
48 * (% style="line-height:150%" %)Selection of Data sources and their links to models.
49 * (% style="line-height:150%" %)Querying data from [[Siibra>>https://siibra-python.readthedocs.io/en/latest/||rel="noopener noreferrer" target="_blank"]] and the Knowledge Graph.
50 * (% style="line-height:150%" %)Deployment and monitoring jobs on HPC resources.
51 * (% style="line-height:150%" %)Integration of a subset of [[the virtual brain>>https://www.thevirtualbrain.org/tvb/zwei||rel="noopener noreferrer" target="_blank"]] analysis and visualisation tools.
52
53 {{html}}
54 <iframe width="800" height="400" src="https://www.youtube.com/embed/NXtyiQZIdBE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
55 {{/html}}
56
57 (% class="western" id="HMETHODS" lang="en-AU" style="border: none; padding: 0in;" %)
58 == METHODS ==
59
60 (% class="western" lang="en-AU" style="border:none; padding:0in" %)
61 (% style="line-height:150%" %)The graphical components developed, called //tvb-widgets//, are designed to be integrated into cells of notebooks or are part of JupyterLab extensions for direct usage in the EBRAINS Collaboratory as independent panels  with an appealing look and feel (3D display and interaction, reactive UI, drag&drop events, etc).
62
63 (% class="western" lang="en-AU" style="border:none; padding:0in" %)
64 (% style="line-height:150%" %)The solution is **modular**, easy to extend and applicable to multiple //showcases// within EBRAINS.
65
66 (% class="western" lang="en-GB" style="border:none; padding:0in" %)
67 (% lang="en-AU" style="line-height:150%" %)For the development of these modules, we choose a **Data** **Centred Architecture**, where data is annotated, and accessed independently by the satellite components which can read or modify it. We introduce a hierarchical representation with flexible types for data and its metadata; the components access shared data structures and are relatively independent —they interact only through data exchange; we get automatic orchestration as a possibility.
68
69 (% class="western" lang="en-GB" style="border:none; padding:0in" %)
70 [[image:image-20230314124213-1.png]]
71
72
73 )))
74
75
76 (% class="col-xs-12 col-sm-4" %)
77 (((
78 {{box title="**Contents**"}}
79 {{toc/}}
80 {{/box}}
81
82
83 )))
84 )))
Public

TVB Widgets