code: def testRegression(self):
      sr = 44100
      index = 0
      original_signal = [10, 10, 10, 20, 5, 5, 40, 5, 5, 80, 5, 5]
  
      # Test with filter width = 3
      # The values "5" are filtered out by the max filters
      expected_output = [10, 10, 10, 20, 20, 20, 40, 40, 40, 80, 80, 80]
      maxfiltered_signal = std.MaxFilter(width=3)(original_signal)
      self.assertEqualVector(maxfiltered_signal, expected_output)
  
      # Test with filter width = 4
      original_signal = [
          10,
          10,
          10,
          20,
          5,
          15,
          25,
          40,
          35,
          25,
          15,
          80,
          75,
          65,
          85,
      ]
      # You can see the max values are "held" for every group of "width=4" elements
      expected_output = [
          10,
          10,
          10,
          20,
          20,
          20,
          25,
          40,
          40,
          40,
          40,
          80,
          80,
          80,
          85,
      ]
      # expected_output2 = [10, 10, 10, 20, 20, 20, 20, 40, 40, 40, 40, 80, 80, 80, 80]
      maxfiltered_signal = std.MaxFilter(width=4)(original_signal)
      self.assertEqualVector(maxfiltered_signal, expected_output)
  
file_path: essentia/test/src/unittests/filters/test_maxfilter.py
imports: from essentia_test import *
  from math import *
  from numpy import *
  from essentia import *
  from math import *
  import essentia.standard
label_desc: Use image node_id 3 for calling the TestMaxFilter obj's underlying member method code with example usage: obj.testRegression() without return types