pyriemann.utils.mean.mean_identity

pyriemann.utils.mean.mean_identity(covmats, sample_weight=None)

Identity matrix corresponding to the matrices dimension.

\[\mathbf{C} = \mathbf{I}_n\]
Parameters:
covmatsndarray, shape (n_matrices, n, n)

Set of square matrices.

sample_weightNone

Not used, here for compatibility with other means.

Returns:
Cndarray, shape (n, n)

Identity matrix.

See also

mean_covariance