brainspace.datasets.load_gradient

brainspace.datasets.load_gradient(name, idx=0, join=False)[source]

Load gradient for conte69.

Parameters:
  • name ({'fc', 'mpc'}) – The type of gradient, either ‘fc’ for functional connectivity or ‘mpc’ for microstructural profile covariance.
  • idx (int, optional) – Gradient index. Default is 0 (first gradient).
  • join (bool, optional) – If False, return one array for each hemisphere. Otherwise, return a single array for both left and right hemispheres. Default is False.
Returns:

marker (tuple of ndarrays or ndarray) – Gradients for left and right hemispheres. If join == True, one gradient array with both hemispheres.