Plot sulci on the flatmapΒΆ

The sulci are defined in a sub-layer of the sulci layer in <filestore>/<subject>/overlays.svg.

The parameter with_sulci in quickflat.make_figure controls displaying the sulci on the surface.

plot sulci
Generating curvature surface info...
Background RRGGBBAA: ffffff00
Area 0:0:1960.5:1024 exported to 1960 x 1024 pixels (96 dpi)
Background RRGGBBAA: ffffff00
Area 0:0:1960.5:1024 exported to 1960 x 1024 pixels (96 dpi)

import cortex
import numpy as np
np.random.seed(1234)

# Create a random pycortex Volume
volume = cortex.Volume.random(subject='S1', xfmname='fullhead')

# Plot a flatmap with the data projected onto the surface
# Highlight the curvature and display the sulci
_ = cortex.quickflat.make_figure(volume,
                                 with_curvature=True,
                                 with_sulci=True)

Total running time of the script: (0 minutes 6.500 seconds)

Gallery generated by Sphinx-Gallery