class_docstr: Data storage for spectrum measurements
docstr: Toggle smoothing and set smoothing params
code: def set_smooth(self, toggle, length=11, window="hanning"):
      """Toggle smoothing and set smoothing params"""
      if (
          toggle != self.smooth
          or length != self.smooth_length
          or window != self.smooth_window
      ):
          self.smooth = toggle
          self.smooth_length = length
          self.smooth_window = window
          self.start_task(self.recalculate_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 13 for calling the DataStorage obj's underlying member method code with example usage: obj.set_smooth(toggle, length, window) without return types