class_docstr: Class for generating a Sweep array
code: def __init__(
      self,
      f0=20,
      f1=None,
      duration=10,
      samplerate=44100,
      method="logarithmic",
  ):
      super(SweepArray, self).__init__(
          duration=duration, samplerate=samplerate
      )
  
      self.f0 = f0 / samplerate
      if f1 is None:
          self.f1 = 0.5
      else:
          self.f1 = f1 / samplerate
      self.method = method
      self.array = scipy.signal.waveforms.chirp(
          t=self.time_samples,
          f0=self.f0,
          t1=self.time_samples[-1],
          f1=self.f1,
          method=self.method,
      )
      self.array.resize(self.num_samples, 1)
  
imports: from __future__ import division
  import gi
  from gi.repository import GLib, Gst
  import numpy
  import scipy.signal.waveforms
  import os.path
  import ffmpeg
label_desc: Use image node_id 1 to create a new SweepArray object from inherited base classes: SampleArray with example: obj = SweepArray(f0, f1, duration, samplerate, method)