@staticmethod<EOL><INDENT>def animate_correlation_matrix(sync_output_dynamic, animation_velocity = <NUM_LIT>, colormap = '<STR_LIT>', save_movie = None):<DEDENT>
figure = plt.figure()<EOL>correlation_matrix = sync_output_dynamic.allocate_correlation_matrix(<NUM_LIT:0>)<EOL>artist = plt.imshow(correlation_matrix, cmap = plt.get_cmap(colormap), interpolation='<STR_LIT>', vmin = <NUM_LIT:0.0>, vmax = <NUM_LIT:1.0>)<EOL>def init_frame(): <EOL><INDENT>return [ artist ]<EOL><DEDENT>def frame_generation(index_dynamic):<EOL><INDENT>correlation_matrix = sync_output_dynamic.allocate_correlation_matrix(index_dynamic)<EOL>artist.set_data(correlation_matrix)<EOL>return [ artist ]<EOL><DEDENT>correlation_animation = animation.FuncAnimation(figure, frame_generation, len(sync_output_dynamic), init_func = init_frame, interval = animation_velocity , repeat_delay = <NUM_LIT:1000>, blit = True)<EOL>if (save_movie is not None):<EOL><INDENT>correlation_animation.save(save_movie, writer = '<STR_LIT>', fps = <NUM_LIT:15>, bitrate = <NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>plt.show()<EOL><DEDENT>
!
        @brief Shows animation of correlation matrix between oscillators during simulation.

        @param[in] sync_output_dynamic (sync_dynamic): Output dynamic of the Sync network.
        @param[in] animation_velocity (uint): Interval between frames in milliseconds.
        @param[in] colormap (string): Name of colormap that is used by matplotlib ('gray', 'pink', 'cool', spring', etc.).
        @param[in] save_movie (string): If it is specified then animation will be stored to file that is specified in this parameter.