@staticmethod<EOL><INDENT>def show_pattern(syncpr_output_dynamic, image_height, image_width):<DEDENT>
number_pictures = len(syncpr_output_dynamic);<EOL>iteration_math_step = <NUM_LIT:1.0>;<EOL>if (number_pictures > <NUM_LIT:50>):<EOL><INDENT>iteration_math_step = number_pictures / <NUM_LIT>;<EOL>number_pictures = <NUM_LIT:50>;<EOL><DEDENT>number_cols = int(numpy.ceil(number_pictures ** <NUM_LIT:0.5>));<EOL>number_rows = int(numpy.ceil(number_pictures / number_cols));<EOL>real_index = <NUM_LIT:0>, <NUM_LIT:0>;<EOL>double_indexer = True;<EOL>if ( (number_cols == <NUM_LIT:1>) or (number_rows == <NUM_LIT:1>) ):<EOL><INDENT>real_index = <NUM_LIT:0>;<EOL>double_indexer = False;<EOL><DEDENT>(_, axarr) = plt.subplots(number_rows, number_cols);<EOL>if (number_pictures > <NUM_LIT:1>):<EOL><INDENT>plt.setp([ax for ax in axarr], visible = False);<EOL><DEDENT>iteration_display = <NUM_LIT:0.0>;<EOL>for iteration in range(len(syncpr_output_dynamic)):<EOL><INDENT>if (iteration >= iteration_display):<EOL><INDENT>iteration_display += iteration_math_step;<EOL>ax_handle = axarr;<EOL>if (number_pictures > <NUM_LIT:1>):<EOL><INDENT>ax_handle = axarr[real_index];<EOL><DEDENT>syncpr_visualizer.__show_pattern(ax_handle, syncpr_output_dynamic, image_height, image_width, iteration);<EOL>if (double_indexer is True):<EOL><INDENT>real_index = real_index[<NUM_LIT:0>], real_index[<NUM_LIT:1>] + <NUM_LIT:1>;<EOL>if (real_index[<NUM_LIT:1>] >= number_cols):<EOL><INDENT>real_index = real_index[<NUM_LIT:0>] + <NUM_LIT:1>, <NUM_LIT:0>; <EOL><DEDENT><DEDENT>else:<EOL><INDENT>real_index += <NUM_LIT:1>;<EOL><DEDENT><DEDENT><DEDENT>plt.show()<EOL>
!
        @brief Displays evolution of phase oscillators as set of patterns where the last one means final result of recognition.

        @param[in] syncpr_output_dynamic (syncpr_dynamic): Output dynamic of a syncpr network.
        @param[in] image_height (uint): Height of the pattern (image_height * image_width should be equal to number of oscillators).
        @param[in] image_width (uint): Width of the pattern.