code: def templateGridRectangleDynamicLength(
      num_osc,
      steps,
      type_conn,
      repr_type,
      height,
      width,
      stimulus,
      ccore,
  ):
      net = pcnn_network(
          num_osc, None, type_conn, repr_type, height, width, ccore
      )
      dynamic = net.simulate(steps, stimulus)
  
      assert steps == len(dynamic)
      assert num_osc == len(dynamic.output[0])
      assert steps == len(dynamic.allocate_time_signal())
  
file_path: pyclustering/pyclustering/nnet/tests/pcnn_templates.py
imports: from pyclustering.nnet.pcnn import pcnn_network, pcnn_parameters, pcnn_visualizer
  from pyclustering.nnet import conn_represent
label_desc: Use image node_id 3 for calling the PcnnTestTemplates obj's underlying member method code with example usage: obj.templateGridRectangleDynamicLength(num_osc, steps, type_conn, repr_type, height, width, stimulus, ccore) without return types