pyriemann.geometry.test.is_hermitian

pyriemann.geometry.test.is_hermitian(X)[source]

Check if all matrices are Hermitian.

Check if all matrices are Hermitian, ie with a symmetric real part and a skew-symmetric imaginary part.

Parameters:
Xndarray, shape (…, n, n)

The set of square matrices.

Returns:
retbool

True if all matrices are Hermitian.