code: def heaviside(value):
      """!
      @brief Calculates Heaviside function that represents step function.
      @details If input value is greater than 0 then returns 1, otherwise returns 0.
  
      @param[in] value (double): Argument of Heaviside function.
  
      @return (double) Value of Heaviside function.
  
      """
      if value > 0.0:
          return 1.0
  
      return 0.0
  
imports: import time
  import numpy
  from numpy import array
  from PIL import Image
  import matplotlib.pyplot
  from sys import platform
  from pyclustering.utils.metric import distance_metric, type_metric
label_desc: Use image node_id 17 for calling a global function with example usage: heaviside(value) and returns: int, int