code: def _interpretValue(self, v):
      if isinstance(v, str):
          v = colormap.get(v)
      if v is not None and not isinstance(v, colormap.ColorMap):
          raise TypeError(
              "Cannot set colormap parameter from object %r" % v
          )
      return v
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/colormaplut.py
imports: from ...None import colormap
  from ...widgets.ColorMapButton import ColorMapButton
  from .basetypes import Parameter, WidgetParameterItem
label_desc: Use image node_id 1 for calling the ColorMapLutParameter obj's underlying member method code with example usage: obj._interpretValue(v) and returns: v