class_docstr: !
  @brief Represents output dynamic of hysteresis oscillatory network.
class_docstr_tok: ["!","@","brief","Represents","output","dynamic","of","hysteresis","oscillatory","network","."]
docstr: !
  @brief Constructor of hysteresis neural network dynamic.
  
  @param[in] amplitudes (list): Dynamic (amplitudes) of oscillators on each step of simulation.
  @param[in] time (list): Simulation time (timestamps of simulation steps) when amplitudes are stored.
docstr_tok: ["!","@","brief","Constructor","of","hysteresis","neural","network","dynamic",".","@","param","[","in","]","amplitudes","(","list",")",":","Dynamic","(","amplitudes",")","of","oscillators","on","each","step","of","simulation",".","@","param","[","in","]","time","(","list",")",":","Simulation","time","(","timestamps","of","simulation","steps",")","when","amplitudes","are","stored","."]
code: def __init__(self, amplitudes, time):
      """!
      @brief Constructor of hysteresis neural network dynamic.
  
      @param[in] amplitudes (list): Dynamic (amplitudes) of oscillators on each step of simulation.
      @param[in] time (list): Simulation time (timestamps of simulation steps) when amplitudes are stored.
  
      """
  
      if len(amplitudes) != len(time):
          raise NameError(
              "Length of list of dynamics of oscillators should be equal to length of simulation timestamps of steps."
          )
  
      self._dynamic = amplitudes
  
      self._time = time
  
imports: import numpy
  import matplotlib.pyplot
  from scipy.integrate import odeint
  from pyclustering.nnet import *
  from pyclustering.utils import draw_dynamics
label_desc: Use image node_id 3 to create a new hysteresis_dynamic object  with example: obj = hysteresis_dynamic(amplitudes, time)