code: def testOnes(self):
      input = esarr(np.ones(512))
      input[0] = 0
      input[-1] = 0
  
      self.assertAlmostEqualVector(
          SaturationDetector(hopSize=512)(input)[0], esarr([0.0]), 1e-4
      )
  
file_path: essentia/test/src/unittests/audioproblems/test_saturationdetector.py
imports: import numpy
  from math import *
  from essentia_test import *
  from essentia import array
label_desc: Use image node_id 2 for calling the TestSaturationDetector obj's underlying member method code with example usage: obj.testOnes() without return types