Skip to main content

zero_bad_channels

Function zero_bad_channels 

Source
pub fn zero_bad_channels(
    data: &mut Array2<f32>,
    bad: &[String],
    ch_names: &[String],
)
Expand description

Zero-fill channels whose normalised name appears in bad.

Name normalisation: lowercase + strip spaces. Silently skips names not found in ch_names.