code: def templateOscillationExistance(
      self,
      num_osc,
      own_weight,
      neigh_weight,
      steps,
      time,
      initial_states=None,
      initial_outputs=None,
      conn_repr=conn_represent.MATRIX,
  ):
      network = hysteresis_network(
          num_osc,
          own_weight,
          neigh_weight,
          type_conn_represent=conn_repr,
      )
  
      if initial_states is not None:
          network.states = initial_states
  
      if initial_outputs is not None:
          network.outputs = initial_outputs
  
      output_dynamic = network.simulate(steps, time)
  
      oscillations = []
      for index in range(num_osc):
          number_oscillations = extract_number_oscillations(
              output_dynamic.output, index, 0.9
          )
          oscillations.append(number_oscillations)
  
          assert number_oscillations > 1
  
file_path: pyclustering/pyclustering/nnet/tests/unit/ut_hysteresis.py
imports: import unittest
  from pyclustering.nnet.hysteresis import hysteresis_network
  from pyclustering.nnet import *
  from pyclustering.utils import extract_number_oscillations
label_desc: Use image node_id 1 for calling the HysteresisUnitTest obj's underlying member method code with example usage: obj.templateOscillationExistance(num_osc, own_weight, neigh_weight, steps, time, initial_states, initial_outputs, conn_repr) without return types