code: def testRangeChecks(self):
      sr = 44100.0
      pi2 = 2 * pi
      signal = [
          0.25 * cos(t * pi2 * 5 / sr)
          + 0.25 * cos(t * pi2 * 50 / sr)
          + 0.25 * cos(t * pi2 * 500.0 / sr)
          + 0.25 * cos(t * pi2 * 5000.0 / sr)
          for t in range(44100)
      ]
  
      filteredSignal = MedianFilter(kernelSize=11)(signal)
  
      s = Spectrum()(signal)
      sf = Spectrum()(filteredSignal)
  
      for i in range(1000):
          if s[i] > 10:
              self.assertTrue(sf[i] > 0.5 * s[i])
  
      for i in range(1001, len(sf)):
          if s[i] > 10:
              self.assertTrue(sf[i] < 0.5 * s[i])
  
file_path: essentia/test/src/unittests/filters/test_medianfilter.py
imports: from essentia_test import *
  from math import *
  from numpy import *
  from essentia import *
  from math import *
  import essentia.standard
  import statistics
label_desc: Use image node_id 6 for calling the TestMedianFilter obj's underlying member method code with example usage: obj.testRangeChecks() without return types