code: def test_brainvision_data_lowpass_filters():
      """Test files with amplifier LP filter settings."""
      # Homogeneous lowpass in Hertz (default measurement unit)
      raw = _test_raw_reader(
          read_raw_brainvision, vhdr_fname=vhdr_lowpass_path, eog=eog
      )
  
      assert raw.info["highpass"] == 1.0 / (2 * np.pi * 10)
      assert raw.info["lowpass"] == 250.0
  
      # Heterogeneous lowpass in Hertz (default measurement unit)
      with pytest.warns(RuntimeWarning) as w:  # event parsing
          raw = _test_raw_reader(
              read_raw_brainvision,
              vhdr_fname=vhdr_mixed_lowpass_path,
              eog=eog,
          )
  
      lowpass_warning = [
          "different lowpass filters" in str(ww.message) for ww in w
      ]
      highpass_warning = [
          "different highpass filters" in str(ww.message) for ww in w
      ]
  
      expected_warnings = zip(lowpass_warning, highpass_warning)
  
      assert all(any([lp, hp]) for lp, hp in expected_warnings)
  
      assert raw.info["highpass"] == 1.0 / (2 * np.pi * 10)
      assert raw.info["lowpass"] == 250.0
  
      # Homogeneous lowpass in seconds
      raw = _test_raw_reader(
          read_raw_brainvision, vhdr_fname=vhdr_lowpass_s_path, eog=eog
      )
  
      assert raw.info["highpass"] == 1.0 / (2 * np.pi * 10)
      assert raw.info["lowpass"] == 1.0 / (2 * np.pi * 0.004)
  
      # Heterogeneous lowpass in seconds
      with pytest.warns(RuntimeWarning) as w:  # filter settings
          raw = _test_raw_reader(
              read_raw_brainvision,
              vhdr_fname=vhdr_mixed_lowpass_s_path,
              eog=eog,
          )
  
      lowpass_warning = [
          "different lowpass filters" in str(ww.message) for ww in w
      ]
      highpass_warning = [
          "different highpass filters" in str(ww.message) for ww in w
      ]
  
      expected_warnings = zip(lowpass_warning, highpass_warning)
  
      assert all(any([lp, hp]) for lp, hp in expected_warnings)
  
      assert raw.info["highpass"] == 1.0 / (2 * np.pi * 10)
      assert raw.info["lowpass"] == 1.0 / (2 * np.pi * 0.004)
  
imports: import datetime
  import re
  import shutil
  from pathlib import Path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from mne import concatenate_raws, pick_types, read_annotations
  from mne._fiff.constants import FIFF
  from mne.annotations import events_from_annotations
  from mne.datasets import testing
  from mne.io import read_raw_brainvision, read_raw_fif
  from mne.io.tests.test_raw import _test_raw_reader
  from mne.utils import _stamp_to_dt, object_diff
label_desc: Use image node_id 10 for calling a global function with example usage: test_brainvision_data_lowpass_filters() without return types