class_docstr: Calculate the maximum of an array across an axis.
      
class_docstr_tok: ["Calculate","the","maximum","of","an","array","across","an","axis","."]
code: def processData(self, data):
      s = self.stateGroup.state()
      ax = None if s["axis"] == -1 else s["axis"]
      return data.max(axis=ax)
  
imports: import numpy
  from ...graphicsItems.LinearRegionItem import LinearRegionItem
  from ...Qt import QtCore, QtWidgets
  from ...widgets.TreeWidget import TreeWidget
  from ..Node import Node
  from .None import functions
  from .common import CtrlNode
label_desc: Use image node_id 1 for calling the Max obj's underlying member method code with example usage: obj.processData(data) and returns: data