class_docstr: !
  @brief Visualizer of output dynamic of sync network (Sync).
docstr: !
  @brief Apply rule of preparation for start iteration and stop iteration values.
  
  @param[in] sync_output_dynamic (sync_dynamic): Output dynamic of the Sync network.
  @param[in] start_iteration (uint): The first iteration that is used for calculation.
  @param[in] stop_iteration (uint): The last iteration that is used for calculation.
  
  @return (tuple) New values of start and stop iterations.
docstr_tok: ["!","@","brief","Apply","rule","of","preparation","for","start","iteration","and","stop","iteration","values",".","@","param","[","in","]","sync_output_dynamic","(","sync_dynamic",")",":","Output","dynamic","of","the","Sync","network",".","@","param","[","in","]","start_iteration","(","uint",")",":","The","first","iteration","that","is","used","for","calculation",".","@","param","[","in","]","stop_iteration","(","uint",")",":","The","last","iteration","that","is","used","for","calculation",".","@","return","(","tuple",")","New","values","of","start","and","stop","iterations","."]
code: def __get_start_stop_iterations(
      sync_output_dynamic, start_iteration, stop_iteration
  ):
      """!
      @brief Apply rule of preparation for start iteration and stop iteration values.
  
      @param[in] sync_output_dynamic (sync_dynamic): Output dynamic of the Sync network.
      @param[in] start_iteration (uint): The first iteration that is used for calculation.
      @param[in] stop_iteration (uint): The last iteration that is used for calculation.
  
      @return (tuple) New values of start and stop iterations.
  
      """
      if start_iteration is None:
          start_iteration = 0
  
      if stop_iteration is None:
          stop_iteration = len(sync_output_dynamic)
  
      return start_iteration, stop_iteration
  
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 10 for calling the sync_visualizer obj's underlying member method code with example usage: obj.__get_start_stop_iterations(sync_output_dynamic, start_iteration, stop_iteration) and returns: start_iteration,  stop_iteration