code: def generateMask(self, data, mask):
      vals = data[self.fieldName][mask]
      mask[mask] = (vals >= self["Min"]) & (
          vals < self["Max"]
      )  ## Use inclusive minimum and non-inclusive maximum. This makes it easier to create non-overlapping selections
      return mask
  
imports: from collections import OrderedDict
  import numpy
  from ..None import functions
  from ..None import parametertree
  from ..Qt import QtCore
label_desc: Use image node_id 2 for calling the RangeFilterItem obj's underlying member method code with example usage: obj.generateMask(data, mask) and returns: mask