code: def template_clustering(
      path, radius, cluster_numbers, threshold, draw=True, ccore=True
  ):
      sample = read_sample(path)
  
      rock_instance = rock(
          sample, radius, cluster_numbers, threshold, ccore
      )
      (ticks, result) = timedcall(rock_instance.process)
  
      clusters = rock_instance.get_clusters()
  
      print("Sample: ", path, "\t\tExecution time: ", ticks, "\n")
  
      if draw == True:
          draw_clusters(sample, clusters)
  
imports: from pyclustering.cluster.rock import rock
  from pyclustering.samples.definitions import SIMPLE_SAMPLES
  from pyclustering.samples.definitions import FCPS_SAMPLES
  from pyclustering.utils import read_sample
  from pyclustering.utils import draw_clusters
  from pyclustering.utils import timedcall
label_desc: Use image node_id 1 for calling a global function with example usage: template_clustering(path, radius, cluster_numbers, threshold, draw, ccore) without return types