neuromodes.io.fetch_map

neuromodes.io.fetch_map(data: str, species: str = 'human', density: str = '32k', hemi: str = 'L', template: str = 'fsLR') NDArray

Load cortical surface data from neuromodes data directory. For a list of available maps, see https://github.com/NSBLab/neuromodes/tree/main/neuromodes/data/included_data.csv.

Parameters

datastr

Cortical map to load. Options include ‘fcgradient1’, ‘myelinmap’, ‘ndi’, ‘odi’, and ‘thickness’.

speciesstr, optional

Species of the surface mesh. Currently only supports ‘human’. Default is ‘human’.

densitystr, optional

Density of the surface mesh. Currently only supports ‘32k’. Default is ‘32k’.

hemistr, optional

Hemisphere of the surface mesh. Currently only supports ‘L’. Default is ‘L’.

templatestr, optional

Template of the surface mesh. Currently only supports ‘fsLR’. Default is ‘fsLR’.

Returns

np.ndarray

The loaded cortical map data.

Raises

ValueError

If the specified map data is not found in the neuromodes/data directory.