Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
3.4.1. fmralign.embeddings.connectivity.get_connectivity_features¶
- fmralign.embeddings.connectivity.get_connectivity_features(data, labels)[source]¶
Compute connectivity features for a single subject.
- Parameters:
- data: array-like of shape (n_samples, n_voxels)
- labels: array-like of shape (n_voxels,)
Labels for connectivity seeds.
- Returns:
- correlation_features: array-like of shape (n_labels, n_voxels)
Connectivity features computed as the correlation between averaged signals within each parcel and the original data.