Should the shape of the brain wave be that way?

The brain waves acquired by openBCI are (time series, number of channels). How should I change the shape when using CSP?
For example, time10second, 125hz and 16ch. NumPy shape is (1250,16).

You need to epoch the data such that you get it into shape (n_epochs, n_channels, n_times); then you can pass it to CSP.

Best wishes,
Richard

1 Like