netneurotools.metrics.network_pearsonr_numba
- netneurotools.metrics.network_pearsonr_numba(annot1, annot2, weight)[source]
Numba version of
netneurotools.stats.network_pearsonr()
.Warning
Test before use.
- Parameters:
annot1 ((N,) array_like) – First annotation vector, demean will be applied.
annot2 ((N,) array_like) – Second annotation vector, demean will be applied.
weight ((N, N) array_like) – Weight matrix. Diagonal elements should be 1.
- Returns:
corr – Network correlation between annot1 and annot2
- Return type: