Warning:  Due to planned infrastructure maintenance, the EBRAINS Wiki and EBRAINS Support system will be unavailable for up to three days starting Monday, 14 July. During this period, both services will be inaccessible, and any emails sent to the support address will not be received.

Attention: We are currently experiencing some issues with the EBRAINS Drive. Please bear with us as we fix this issue. We apologise for any inconvenience caused.


Changes for page Widget Connectivity

Last modified by paulapopa on 2025/06/24 14:15

From version 3.1
edited by davidbacter01
on 2023/09/19 10:22
Change comment: There is no comment for this version
To version 8.2
edited by paulapopa
on 2025/06/24 11:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.davidbacter01
1 +XWiki.paulapopa
Content
... ... @@ -9,22 +9,26 @@
9 9  
10 10  == Purpose ==
11 11  
12 -Jupyter lab widget for visualizing or do operations on a connectivity
12 +Jupyter lab widgets for visualizing or do operations on a connectivity
13 13  
14 14  
15 -=== Visualization: ===
15 +=== 1. ConnectivityWidget ===
16 16  
17 +==== Visualization: ====
18 +
17 17   - in 2D can visualize weights or tracts matrixes;
18 18  
19 -[[image:image-20230919110833-1.png]]
21 +[[image:conn2d.png||height="741" width="1700"]]
20 20  
21 21   - in 3D can visualize regions and their respective edges
22 22  
25 +==== [[image:conn3d.png||height="688" width="1700"]] ====
23 23  
24 -==== [[image:image-20230919110853-2.png]] ====
27 +To show/hide the Connectivity centers/edges, access the controls available in the upper-right corner:
25 25  
29 +[[image:visible.png||height="543" width="500"]]
26 26  
27 -=== Operations: ===
31 +==== Operations: ====
28 28  
29 29   - remove selected nodes from a connectivity, results in a new connectivity containing only the nodes that were not selected;
30 30  
... ... @@ -35,7 +35,7 @@
35 35   - remove selected edges,  results in a new connectivity with the same number of regions but without the edges of selected regions.
36 36  
37 37  
38 -=== Usage: ===
42 +==== Usage: ====
39 39  
40 40  After instantiating the widget it allows export of the currently selected connectivity:
41 41  
... ... @@ -43,11 +43,6 @@
43 43  from tvbwidgets.api import ConnectivityWidget
44 44  from tvb.datatypes.connectivity import Connectivity
45 45  
46 -import pyvista as pv
47 -
48 -
49 -pv.set_jupyter_backend('pythreejs')
50 -
51 51  conn = Connectivity.from_file() # defaults to connectivy_76.zip
52 52  conn.configure()
53 53  
... ... @@ -62,4 +62,9 @@
62 62  new_connectivity
63 63  {{/code}}
64 64  
64 +
65 +=== 2. SpaceTimeVisualizerWidget ===
66 +
67 +- This is a three-dimensional representation of the delayed-connectivity structure (space-time) when combined with spatial separation and a finite conduction speed. The connectome consists of the weights matrix giving the strength and topology of the network and the tract lengths matrix gives the distance between pair of regions. When setting a specific conduction speed, the distances will be translated into time delays. The space-time visualizer disaggregate the //weights// matrix and each slice corresponds to connections that fall into a particular distance (or delay) range. The first slice is the complete weights matrix. Click on any of the subsequent slices to see the corresponding 2D matrix plot.
68 +
65 65  
conn2d.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +212.2 KB
Content
conn3d.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +422.4 KB
Content
st1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +153.8 KB
Content
st2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +124.4 KB
Content
st3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +73.6 KB
Content
st4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +68.2 KB
Content
visible.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.paulapopa
Size
... ... @@ -1,0 +1,1 @@
1 +260.2 KB
Content
Public

TVB Widgets