pyriemann.utils.mean.mean_identity

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

Identity matrix corresponding to the matrices dimension.

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

Set of square matrices.

sample_weightNone

Not used, here for compatibility with other means.

Returns:
Mndarray, shape (n, n)

Identity matrix.

See also

mean_covariance