code: def __init__(self, mode, bands, basemode, basetype, typestr):
      self.mode = mode
      self.bands = bands
      self.basemode = basemode
      self.basetype = basetype
      self.typestr = typestr
  
imports: import sys
label_desc: Use image node_id 1 to create a new ModeDescriptor object  with example: obj = ModeDescriptor(mode, bands, basemode, basetype, typestr)