def __synchronization_mechanism(self, amplitude, index):
sync_influence = <NUM_LIT:0.0>;<EOL>for k in range(self._num_osc):<EOL><INDENT>if self.has_connection(index, k) is True:<EOL><INDENT>amplitude_neighbor = numpy.array(self.__amplitude[k], dtype = numpy.complex128, ndmin = <NUM_LIT:1>);<EOL>sync_influence += amplitude_neighbor - amplitude;<EOL><DEDENT><DEDENT>return sync_influence * self.__coupling_strength / self._num_osc<EOL>
!
        @brief Calculate synchronization part using Kuramoto synchronization mechanism.

        @param[in] amplitude (double): Current amplitude of oscillator.
        @param[in] index (uint): Oscillator index whose synchronization influence is calculated.

        @return (double) Synchronization influence for the specified oscillator.