Utilities

correlation(A, B)

Compute the correlation coefficient.

euclidean(A, B)

Compute the Euclidean distance.

covariance(X[, n_old, avg_old, cov_old, ...])

Compute the covariance matrix.

decoding_matrix(data, length[, stride])

Make a Hankel-like decoding matrix.

encoding_matrix(stimulus, length[, stride, ...])

Make a Toeplitz-like encoding matrix.

event_matrix(stimulus, event[, onset_event])

Make an event matrix.

correct_latency(X, y, latency, fs[, axis])

Correct for a latency in data.

filterbank(X, passbands, fs[, tmin, ftype, ...])

Apply a filterbank.

trials_to_epochs(X, y, codes, epoch_size, ...)

Slice trials to epochs.

itr(n, p, t)

Compute the information-transfer rate (ITR).