eelbrain.pipeline.MneExperiment.make_bad_channels_neighbor_correlation¶
-
MneExperiment.
make_bad_channels_neighbor_correlation
(self, r, epoch=None, **state)¶ Exclude bad channels based on low average neighbor-correlation
Parameters: - r : scalar
Minimum admissible neighbor correlation. Any channel whose average correlation with its neighbors is below this value is added to the list of bad channels (e.g., 0.3).
- epoch : str
Epoch to use for computing neighbor-correlation (by default, the whole session is used).
- …
State parameters.
Notes
Data is loaded for the currently specified
raw
setting, but bad channels apply to allraw
settings equally. Hence, when using this method with multiple subjects, it is important to setraw
to the same value.