API Documentation#

Epochs rejection#

Automated rejection and repair of epochs in M/EEG.

Classes:

AutoReject([n_interpolate, consensus, ...])

Efficiently find n_interpolate and consensus.

RejectLog(bad_epochs, labels, ch_names)

The Rejection Log.

Ransac([n_resample, min_channels, min_corr, ...])

RANSAC algorithm to find bad sensors and repair them.

Functions:

compute_thresholds(epochs[, method, ...])

Compute thresholds for each channel.

get_rejection_threshold(epochs[, decim, ...])

Compute global rejection thresholds.

read_auto_reject(fname)

Read AutoReject object.

read_reject_log(fname)

Read a reject log.

validation_curve(epochs[, y, param_name, ...])

Validation curve on epochs for global autoreject.

Utilities#

Utility functions for autoreject.

Functions:

set_matplotlib_defaults(plt[, style])

Set publication quality defaults for matplotlib.