code: def filter_bandpass(
      signal, low_freq, high_freq, channels=None, method="iir"
  ):
      """Filter signal on specific channels and in a specific frequency band"""
      sig = signal.copy()
      if channels is not None:
          sig.pick_channels(channels)
      sig.filter(
          l_freq=low_freq,
          h_freq=high_freq,
          method=method,
          verbose=False,
      )
      return sig
  
file_path: pyRiemann/examples/artifacts/plot_detect_riemannian_potato_field_EEG.py
imports: import numpy
  from matplotlib import pyplot
  from matplotlib.animation import FuncAnimation
  from mne.datasets import eegbci
  from mne.io import read_raw_edf
  from mne.channels import make_standard_montage
  from mne import make_fixed_length_epochs
  from pyriemann.estimation import Covariances
  from pyriemann.utils.covariance import normalize
  from pyriemann.clustering import Potato, PotatoField
label_desc: Use image node_id 1 for calling a global function with example usage: filter_bandpass(signal, low_freq, high_freq, channels, method) and returns: sig