class_docstr: Data storage for spectrum measurements
docstr: Update spectrum measurements history
code: def update_history(self, data):
      """Update spectrum measurements history"""
      if self.history is None:
          self.history = HistoryBuffer(
              len(data["y"]), self.max_history_size
          )
  
      self.history.append(data["y"])
      self.history_updated.emit(self)
  
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 8 for calling the DataStorage obj's underlying member method code with example usage: obj.update_history(data) without return types