detect bad channels in frequency space.