Changes for page Widget Connectivity
Last modified by paulapopa on 2025/06/24 14:15
From version 8.1
edited by paulapopa
on 2025/06/24 11:49
on 2025/06/24 11:49
Change comment:
There is no comment for this version
To version 3.1
edited by davidbacter01
on 2023/09/19 10:22
on 2023/09/19 10:22
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. paulapopa1 +XWiki.davidbacter01 - Content
-
... ... @@ -9,26 +9,22 @@ 9 9 10 10 == Purpose == 11 11 12 -Jupyter lab widget sfor visualizing or do operations on a connectivity12 +Jupyter lab widget for visualizing or do operations on a connectivity 13 13 14 14 15 -=== 1. ConnectivityWidget15 +=== Visualization: === 16 16 17 -==== Visualization: ==== 18 - 19 19 - in 2D can visualize weights or tracts matrixes; 20 20 21 -[[image: conn2d.png||height="741" width="1700"]]19 +[[image:image-20230919110833-1.png]] 22 22 23 23 - in 3D can visualize regions and their respective edges 24 24 25 -==== [[image:conn3d.png||height="688" width="1700"]] ==== 26 26 27 - Toshow/hide the Connectivity centers/edges, access the controls availablein the upper-rightcorner:24 +==== [[image:image-20230919110853-2.png]] ==== 28 28 29 -[[image:visible.png||height="543" width="500"]] 30 30 31 -=== =Operations: ====27 +=== Operations: === 32 32 33 33 - remove selected nodes from a connectivity, results in a new connectivity containing only the nodes that were not selected; 34 34 ... ... @@ -39,7 +39,7 @@ 39 39 - remove selected edges, results in a new connectivity with the same number of regions but without the edges of selected regions. 40 40 41 41 42 -=== =Usage: ====38 +=== Usage: === 43 43 44 44 After instantiating the widget it allows export of the currently selected connectivity: 45 45 ... ... @@ -47,6 +47,11 @@ 47 47 from tvbwidgets.api import ConnectivityWidget 48 48 from tvb.datatypes.connectivity import Connectivity 49 49 46 +import pyvista as pv 47 + 48 + 49 +pv.set_jupyter_backend('pythreejs') 50 + 50 50 conn = Connectivity.from_file() # defaults to connectivy_76.zip 51 51 conn.configure() 52 52 ... ... @@ -61,7 +61,4 @@ 61 61 new_connectivity 62 62 {{/code}} 63 63 64 - 65 -=== 2. SpaceTimeVisualizerWidget === 66 - 67 67
- conn2d.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.paulapopa - Size
-
... ... @@ -1,1 +1,0 @@ 1 -212.2 KB - Content
- conn3d.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.paulapopa - Size
-
... ... @@ -1,1 +1,0 @@ 1 -422.4 KB - Content
- visible.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.paulapopa - Size
-
... ... @@ -1,1 +1,0 @@ 1 -260.2 KB - Content