class_docstr: Removes baseline from data by computing mode (from histogram) of beginning and end of data.
class_docstr_tok: ["Removes","baseline","from","data","by","computing","mode","(","from","histogram",")","of","beginning","and","end","of","data","."]
code: def processData(self, data):
      s = self.stateGroup.state()
      # ws = self.ctrls['windowSize'].value()
      # bn = self.ctrls['numBins'].value()
      # offset = self.ctrls['offsetOnly'].checked()
      return functions.histogramDetrend(
          data,
          window=s["windowSize"],
          bins=s["numBins"],
          offsetOnly=s["offsetOnly"],
      )
  
imports: import numpy
  from ...None import Point, PolyLineROI
  from ...None import functions
  from ...None import metaarray
  from .None import functions
  from .common import CtrlNode, PlottingCtrlNode, metaArrayWrapper
label_desc: Use image node_id 1 for calling the HistogramDetrend obj's underlying member method code with example usage: obj.processData(data) and returns: functions