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
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, 3 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. davidbacter011 +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,7 @@ 62 62 new_connectivity 63 63 {{/code}} 64 64 64 + 65 +=== 2. SpaceTimeVisualizerWidget === 66 + 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
- visible.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.paulapopa - Size
-
... ... @@ -1,0 +1,1 @@ 1 +260.2 KB - Content