code: def som_get_capture_objects(som_pointer):
      """!
      @brief Returns list of indexes of captured objects by each neuron.
  
      @param[in] som_pointer (c_pointer): pointer to object of self-organized map.
  
      """
  
      ccore = ccore_library.get()
  
      ccore.som_get_capture_objects.restype = POINTER(
          pyclustering_package
      )
      package = ccore.som_get_capture_objects(som_pointer)
  
      result = package_extractor(package).extract()
      return result
  
file_path: pyclustering/pyclustering/core/som_wrapper.py
imports: from ctypes import Structure, c_longlong, c_uint, c_size_t, c_double, c_void_p, pointer, POINTER
  from pyclustering.core.wrapper import ccore_library
  from pyclustering.core.pyclustering_package import pyclustering_package, package_builder, package_extractor
label_desc: Use image node_id 8 for calling a global function with example usage: som_get_capture_objects(som_pointer) and returns: result