class_docstr: Fixed-size NumPy array ring buffer
docstr: Append new data to ring buffer
code: def append(self, data):
      """Append new data to ring buffer"""
      self.counter += 1
      if self.history_size < self.max_history_size:
          self.history_size += 1
      self.buffer = np.roll(self.buffer, -1, axis=0)
      self.buffer[-1] = data
  
imports: import time, sys, os
  from Qt import QtCore
  import numpy
  from qspectrumanalyzer.utils import smooth
  from qspectrumanalyzer.backends import soapy_power
label_desc: Use image node_id 2 for calling the HistoryBuffer obj's underlying member method code with example usage: obj.append(data) without return types