code: def templateStaticSimulation(ccore_falg):
      net = syncpr(10, 0.1, 0.1, ccore_falg)
  
      patterns = []
      patterns += [[1, 1, 1, 1, 1, -1, -1, -1, -1, -1]]
      patterns += [[-1, -1, -1, -1, -1, 1, 1, 1, 1, 1]]
  
      net.train(patterns)
      net.simulate_static(20, 10, patterns[0], solve_type.RK4)
      memory_order = net.memory_order(patterns[0])
  
      assert (memory_order > 0.95) and (memory_order <= 1.000005)
  
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 9 for calling the SyncprTestTemplates obj's underlying member method code with example usage: obj.templateStaticSimulation(ccore_falg) without return types