autoreject.
get_rejection_threshold
(epochs, decim=1, random_state=None, ch_types=None, cv=5, verbose=True)[source]¶Compute global rejection thresholds.
The epochs from which to estimate the epochs dictionary
The decimation factor: Increment for selecting every nth time slice.
The seed of the pseudo random number generator to use.
The channel types for which to find the rejection dictionary. e.g., [‘mag’, ‘grad’]. If None, the rejection dictionary will have keys [‘mag’, ‘grad’, ‘eeg’, ‘eog’].
The number of folds used. Defaults to 5.
If False, suppress all output messages.
The rejection dictionary with keys as specified by ch_types.