class_docstr: !
  @brief Represents output dynamic of Sync.
docstr: !
  @brief Indexing of the dynamic.
docstr_tok: ["!","@","brief","Indexing","of","the","dynamic","."]
code: def __getitem__(self, index):
      """!
      @brief Indexing of the dynamic.
  
      """
      if index == 0:
          return self.time
  
      elif index == 1:
          return self.output
  
      else:
          raise NameError(
              "Out of range "
              + index
              + ": only indexes 0 and 1 are supported."
          )
  
imports: import math
  import numpy
  import random
  import matplotlib.pyplot
  import matplotlib.animation
  import pyclustering.core.sync_wrapper
  from pyclustering.core.wrapper import ccore_library
  from scipy.integrate import odeint
  from pyclustering.nnet import network, conn_represent, conn_type, initial_type, solve_type
  from pyclustering.utils import pi, draw_dynamics, draw_dynamics_set, set_ax_param
label_desc: Use image node_id 6 for calling the sync_dynamic obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self, self