class_docstr: !
  @brief Represents output dynamic of Sync.
docstr: !
  @brief Aplly rules for start_iteration and stop_iteration parameters.
  
  @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 the first iteration and the last.
docstr_tok: ["!","@","brief","Aplly","rules","for","start_iteration","and","stop_iteration","parameters",".","@","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","the","first","iteration","and","the","last","."]
code: def __get_start_stop_iterations(
      self, start_iteration, stop_iteration
  ):
      """!
      @brief Aplly rules for start_iteration and stop_iteration parameters.
  
      @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 the first iteration and the last.
  
      """
      if start_iteration is None:
          start_iteration = len(self) - 1
  
      if stop_iteration is None:
          stop_iteration = start_iteration + 1
  
      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 12 for calling the sync_dynamic obj's underlying member method code with example usage: obj.__get_start_stop_iterations(start_iteration, stop_iteration) and returns: start_iteration,  stop_iteration