RANSAC algorithm to find bad sensors and repair them.
Implements RAndom SAmple Consensus (RANSAC) method to detect bad sensors.
int
Number of times the sensors are resampled.
float
Fraction of sensors for robust reconstruction.
float
Cut-off correlation for abnormal wrt neighbours.
float
Cut-off fraction of time sensor can have poor RANSAC predictability.
int
Number of parallel jobs.
None
| int
| np.random.RandomState
The seed of the pseudo random number generator to use.
str
| list
| slice
| None
Channels to include. Slices and lists of integers will be
interpreted as channel indices. In lists, channel name strings
(e.g., ['MEG0111', 'MEG2623']
) will pick the given channels.
None (default) will pick data channels {‘meg’, ‘eeg’}. Note that
channels in info['bads']
will be included if their names or
indices are explicitly provided.
The verbosity of progress messages. If False, suppress all output messages.
Notes
The window_size is automatically set to the epoch length.
References
“The PREP pipeline: standardized preprocessing for large-scale EEG analysis.” Frontiers in neuroinformatics 9 (2015).
Alexandre Gramfort, “Autoreject: Automated artifact rejection for MEG and EEG.” arXiv preprint arXiv:1612.08194, 2016.
Methods
|
Implements RAndom SAmple Consensus (RANSAC) method to detect bad sensors. |
|
|
|
|
|