pyriemann_qiskit.utils.math.to_xyz

pyriemann_qiskit.utils.math.to_xyz(X)[source]

Plot histogram of bi-class predictions.

Parameters:

X (ndarray, shape (n_matrices, 2, 2)) – Array of SPD matrices of size 2 x 2.

Returns:

points – Cartesian representation in 3d.

Return type:

ndarray, shape (n_matrices, 3)

Notes

Added in version 0.2.0.