

def test_unmasked_channels(masks, n_channels):
    threshold = 0.05
    masks[:, 1::2] *= threshold
    mean_masks = mean(masks)
    channels = get_unmasked_channels(mean_masks, threshold)
    ae(channels, np.arange(0, channels, 2))

dataset/ETHPy150Open kwikteam/phy/phy/stats/tests/test_clusters.py test_unmasked_channels/VarMisuse@54/68 `n_channels`->`channels`