mcot.surface.cortex

Defines cortical layers/cortices defined by 2 or more cortical meshes.

CorticalLayer always consists of exactly two meshes (giving the full extent of the layer), while Cortex can have 2 or more describing the full cortex

Classes

Cortex(surfaces)

A cortex defined by 2 or more cortical meshes (sorted from inner to outer).

CorticalLayer(lower, upper)

Represents a cortical layer bounded by a lower and upper mesh.

Functions

read_HCP(fsaverage_directory)

Reads the cortical meshes from an fsaverage_directory.

read_HCP

mcot.surface.cortex.read_HCP(fsaverage_directory)[source]

Reads the cortical meshes from an fsaverage_directory.

Parameters

fsaverage_directory – directory containing the GIFTI .surf.gii files describing the freesurfer surfaces.

Returns

tuple of (right Cortex, left Cortex). Each cortex will contain the white/gray matter boudnary, the midthickness (if available), and the pial surface