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

Hide last authors
ldomide 1.1 1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
ldomide 14.1 5 = TVB inspired GUI Widgets =
ldomide 1.1 6
ldomide 26.1 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]]//
ldomide 8.1 8
ldomide 9.1 9 **for EBRAINS showcases**
ldomide 1.1 10 )))
11 )))
12
13 (% class="row" %)
14 (((
15 (% class="col-xs-12 col-sm-8" %)
16 (((
ldomide 17.1 17 == What can I find here? ==
ldomide 1.1 18
ldomide 9.1 19 * Description of TVB GUI Widgets
20 * Installation and usage guidance
ldomide 26.1 21 * Basic usage examples
ldomide 1.1 22
ldomide 18.1 23 === Authors ===
ldomide 1.1 24
ldomide 26.1 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)
ldomide 7.1 28
ldomide 18.1 29 === Concepts ===
ldomide 7.1 30
ldomide 9.1 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
ldomide 17.1 32 * (% style="color:#595959; font-family:Arial; font-size:18.6667px; white-space:pre-wrap" %)JupyterLab Extensions
ldomide 9.1 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
ldomide 15.1 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
ldomide 8.1 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
ldomide 15.1 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
ldomide 7.1 37
ldomide 19.1 38 (% class="western" id="HMOTIVATION" lang="en-AU" style="border: none; padding: 0in;" %)
ldomide 18.1 39 == (% style="line-height:150%" %)**MOTIVATION**(%%) ==
40
41 (% class="western" lang="en-AU" style="border:none; padding:0in" %)
ldomide 22.1 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"]].
ldomide 18.1 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
ldomide 21.1 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.
ldomide 22.1 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.
ldomide 21.1 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.
ldomide 18.1 52
paulapopa 23.1 53 {{html}}
paulapopa 25.1 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>
paulapopa 23.1 55 {{/html}}
56
ldomide 17.1 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
ldomide 7.1 72
ldomide 1.1 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