code: def testDCblock(self):
      # This negative peak is hidden by a huge amount of positive dc offset.
      # It should be detected when the optional dc blocker is on.
      oversamplingFactor = 4
      signal = np.zeros(512)
      peakLoc = 256
      signal[peakLoc] = -1.4
      signalWithDC = signal + 0.5
  
      withoutDC = TruePeakDetector(
          blockDC=True, oversamplingFactor=oversamplingFactor, version=2
      )(signalWithDC.astype(np.float32))[0]
      withDC = TruePeakDetector(
          blockDC=False,
          oversamplingFactor=oversamplingFactor,
          version=2,
      )(signalWithDC.astype(np.float32))[0]
  
      assert withDC.size == 0
      assert peakLoc in withoutDC
  
file_path: essentia/test/src/unittests/audioproblems/test_truepeakdetector.py
imports: import numpy
  from math import *
  from essentia_test import *
  from essentia import array
label_desc: Use image node_id 5 for calling the TestTruePeakDetector obj's underlying member method code with example usage: obj.testDCblock() without return types