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