code: def template_dynamic_sync(
      num_osc,
      steps,
      time,
      frequency=1.0,
      radius=1.0,
      coupling=1.0,
      conn=conn_type.ALL_TO_ALL,
      collect_dyn=True,
  ):
      network = fsync_network(
          num_osc, frequency, radius, coupling, type_conn=conn
      )
  
      fsync_output_dynamic = network.simulate(
          steps, time, collect_dynamic=collect_dyn
      )
      fsync_visualizer.show_output_dynamic(fsync_output_dynamic)
      return network
  
file_path: pyclustering/pyclustering/nnet/examples/fsync_examples.py
imports: from pyclustering.nnet import conn_type
  from pyclustering.nnet.fsync import fsync_network, fsync_visualizer
label_desc: Use image node_id 1 for calling a global function with example usage: template_dynamic_sync(num_osc, steps, time, frequency, radius, coupling, conn, collect_dyn) and returns: network