hippomaps.plotting.surfplot_canonical_foldunfoldο
- hippomaps.plotting.surfplot_canonical_foldunfold(cdata, hemis=['L', 'R'], labels=['hipp', 'dentate'], unfoldAPrescale=False, den='0p5mm', tighten_cwindow=False, resourcesdir='/home/docs/checkouts/readthedocs.org/user_builds/hippomaps/checkouts/latest/hippomaps/resources', size=[350, 300], **qwargs)ο
Plots canonical folded and unfolded surfaces for hippocampus and dentate gyrus. :param cdata: Array with the shape Vx2xF, where V is the number of vertices (including DG unless specified),
2 is the number of hemispheres (unless specified), and F is the number of rows/features.
- Parameters:
hemis (list of str, optional) β List of hemispheres to visualize. Default is [βLβ, βRβ].
labels (list of str, optional) β List of labels for different structures. Default is [βhippβ, βdentateβ].
unfoldAPrescale (bool, optional) β Whether to pre-scale the anterior-posterior axis during unfolding. Default is False.
den (str, optional) β Density parameter for surface plot. Default is β0p5mmβ.
tighten_cwindow (bool, optional) β Whether to tighten the color window for the surface plot. Default is False.
resourcesdir (str, optional) β Directory path containing additional resources. Default is the value of resourcesdir.
size (list of int, optional) β Size of the surface plot. Default is [350, 300].
**qwargs (dict, optional) β Additional keyword arguments for customization. See https://brainspace.readthedocs.io/en/latest/generated/brainspace.plotting.surface_plotting.plot_surf.html#brainspace.plotting.surface_plotting.plot_surf
- Returns:
Figure object for the generated surface plot.
- Return type:
matplotlib.figure.Figure
Notes
This function is suitable for plotting canonical folded and unfolded surfaces, and it is particularly useful when the data (cdata) isnβt specific to one subject (e.g., maybe it has been averaged across many subjects).