code: def testRegression(self):
      # generate test signal: sine 110Hz @44100kHz
      signalSize = 10 * self.params["frameSize"]
      signal = 0.5 * numpy.sin(
          (array(range(signalSize)) / self.params["sampleRate"])
          * 110
          * 2
          * math.pi
      )
  
      outsignal, pool = analsynthSineModelStreaming(self.params, signal)
  
      outsignal = outsignal[
          :signalSize
      ]  # cut to durations of input and output signal
  
      # compare without half-window bounds to avoid windowing effect
      halfwin = self.params["frameSize"] // 2
  
      # Save sines in a text file. Use only for debugging purposes.
      # numpy.savetxt('sine.txt',signal[halfwin:-halfwin])
      # numpy.savetxt('sine_out.txt',outsignal[halfwin:-halfwin])
  
      self.assertAlmostEqualVectorFixedPrecision(
          outsignal[halfwin:-halfwin],
          signal[halfwin:-halfwin],
          self.precisionDigits,
      )
  
file_path: essentia/test/src/unittests/synthesis/test_sinemodel_streaming.py
imports: from essentia_test import *
  import math
  import essentia
  import essentia.streaming
  import essentia.standard
label_desc: Use image node_id 3 for calling the TestSineModel obj's underlying member method code with example usage: obj.testRegression() without return types