pyriemann.utils.test.is_real¶
- pyriemann.utils.test.is_real(X)¶
Check if all matrices are strictly real.
Better management of numerical imprecisions than np.all(np.isreal()).
- Parameters:
- Xndarray, shape (…, n, m)
The set of matrices.
- Returns:
- retboolean
True if all matrices are strictly real.