cortex.surfinfo.bumpy_flatmap¶
- cortex.surfinfo.bumpy_flatmap(outfile, subject, **kwargs)[source]¶
Give the flatmap the relief of the cortical slab, and cache it.
Hemispheres with no flat surface get an array of zeros rather than an error.
- Parameters:
- outfilestr
Path where the offsets will be saved as an npz file.
- subjectstr
Subject in the pycortex database whose flatmap gets the relief.
- **kwargs
Passed to cortex.polyutils.FlatSlab.
Notes
Stored under
bump_leftandbump_rightrather thanleftandrighton purpose: get_surfinfo turns a file with the latter into a Vertex by concatenating them, which assumes one value per vertex and would mangle these three-component offsets.