Mesh with statistical overlay¶
You can show per-vertex curvature and statistical maps on top of meshes.
In [1]:
from ipyniivue import NiiVue
nv = NiiVue(
back_color=(1, 1, 1, 1),
show_3d_crosshair=True,
is_colorbar=True,
)
mesh_layers = [
{
"path": "../images/BrainMesh_ICBM152.lh.curv",
"colormap": "gray",
"cal_min": 0.3,
"cal_max": 0.5,
"opacity": 0.9,
},{
"path": "../images/BrainMesh_ICBM152.lh.motor.mz3",
"cal_min": 2.0,
"cal_max": 5.5,
"use_negative_cmap": True,
"opacity": 0.7,
}
]
nv.load_meshes([
{"path": "../images/BrainMesh_ICBM152.lh.mz3", "layers": mesh_layers },
])
nv.meshes[0].layers[0].colorbar_visible = False
nv
Out[1]:
In [ ]: