code: def templatePatternVisualizer(collect_dynamic, ccore_flag=False):
      net = syncpr(5, 0.1, 0.1, ccore=ccore_flag)
      output_dynamic = net.simulate(
          10, 10, [-1, 1, -1, 1, -1], solve_type.RK4, collect_dynamic
      )
  
      syncpr_visualizer.show_pattern(output_dynamic, 5, 2)
      syncpr_visualizer.animate_pattern_recognition(
          output_dynamic, 1, 5
      )
  
file_path: pyclustering/pyclustering/nnet/tests/syncpr_templates.py
imports: import matplotlib
  from pyclustering.nnet import solve_type
  from pyclustering.nnet.syncpr import syncpr, syncpr_visualizer
label_desc: Use image node_id 7 for calling the SyncprTestTemplates obj's underlying member method code with example usage: obj.templatePatternVisualizer(collect_dynamic, ccore_flag) without return types