code: def som_simulate(som_pointer, pattern):
      """!
      @brief Processes input pattern (no learining) and returns index of neuron-winner.
      @details Using index of neuron winner catched object can be obtained using property capture_objects.
  
      @param[in] som_pointer (c_pointer): pointer to object of self-organized map.
      @param[in] pattern (list): input pattern.
  
      @return Returns index of neuron-winner.
  
      """
  
      pointer_data = package_builder(pattern, c_double).create()
  
      ccore = ccore_library.get()
      ccore.som_simulate.restype = c_size_t
      return ccore.som_simulate(som_pointer, pointer_data)
  
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 5 for calling a global function with example usage: som_simulate(som_pointer, pattern) and returns: ccore