code: def bandpass_filter(raw, l_freq, h_freq, method="iir", verbose=False):
      """Band-pass filter a signal using MNE"""
      return (
          raw.copy()
          .filter(
              l_freq=l_freq,
              h_freq=h_freq,
              method=method,
              verbose=verbose,
          )
          .get_data()
      )
  
imports: import os
  import numpy
  from mne import create_info
  from mne.datasets import fetch_dataset
  from mne.io import RawArray
label_desc: Use image node_id 2 for calling a global function with example usage: bandpass_filter(raw, l_freq, h_freq, method, verbose) and returns: raw