niwidgets.
SurfaceWidget
(meshfile, overlayfiles=())[source]¶Interact with brain surfaces right in the notebook.
Methods
Surface widget methods:
surface_plotter ([colormap, figsize, …]) |
Visualise a surface mesh (with overlay) inside notebooks. |
zmask (surf, mask) |
Masks out vertices with intensity=0 from overlay. |
Methods Details
niwidgets.
SurfaceWidget
(meshfile, overlayfiles=())[source]Interact with brain surfaces right in the notebook.
surface_plotter
(colormap=None, figsize=array([600, 600]), figlims=array([[-100, 100], [-100, 100], [-100, 100]]), show_zeroes=True, **kwargs)[source]¶Visualise a surface mesh (with overlay) inside notebooks.
This method displays the surface widget.
Parameters: |
|
---|
zmask
(surf, mask)[source]¶Masks out vertices with intensity=0 from overlay.
Also returns masked-out vertices.
Parameters: |
|
---|---|
Returns: |
|