neuromodes.basis.calc_norm_power
- neuromodes.basis.calc_norm_power(beta: ArrayLike) NDArray
Transform beta coefficients from a decomposition into normalised power.
Parameters
- betaarray-like
The beta coefficients array of shape (n_modes,) or (n_modes, n_maps), where n_modes is the number of orthogonal vectors and n_maps is the number of brain maps.
Returns
- numpy.ndarray
The normalized power array of shape (n_modes,) or (n_modes, n_maps), where each element represents the proportion of power contributed by the corresponding orthogonal vector to each brain map.