htfa.static_connectivity

htfa.static_connectivity(weights)[source]

Pearson correlation between factor time courses.

Parameters:
weightsndarray, shape (K, T)

Factor weights over samples.

Returns:
ndarray, shape (K, K)

Examples

>>> import numpy as np
>>> w = np.random.default_rng(0).standard_normal((3, 50))
>>> static_connectivity(w).shape
(3, 3)