class_docstr: Returns the pointwise derivative of the input
class_docstr_tok: ["Returns","the","pointwise","derivative","of","the","input"]
code: def processData(self, data):
      if hasattr(data, "implements") and data.implements("MetaArray"):
          info = data.infoCopy()
          if "values" in info[0]:
              info[0]["values"] = info[0]["values"][:-1]
          return metaarray.MetaArray(data[1:] - data[:-1], info=info)
      else:
          return data[1:] - data[:-1]
  
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 Derivative obj's underlying member method code with example usage: obj.processData(data) and returns: metaarray, unknown