pyclustering  0.10.1
pyclustring is a Python, C++ data mining library.
pyclustering.nnet.syncpr.syncpr_visualizer Class Reference

Visualizer of output dynamic of syncpr network (Sync for Pattern Recognition). More...

+ Inheritance diagram for pyclustering.nnet.syncpr.syncpr_visualizer:
+ Collaboration diagram for pyclustering.nnet.syncpr.syncpr_visualizer:

Static Public Member Functions

def show_pattern (syncpr_output_dynamic, image_height, image_width)
 Displays evolution of phase oscillators as set of patterns where the last one means final result of recognition. More...
 
def animate_pattern_recognition (syncpr_output_dynamic, image_height, image_width, animation_velocity=75, title=None, save_movie=None)
 Shows animation of pattern recognition process that has been preformed by the oscillatory network. More...
 
- Static Public Member Functions inherited from pyclustering.nnet.sync.sync_visualizer
def show_output_dynamic (sync_output_dynamic)
 Shows output dynamic (output of each oscillator) during simulation. More...
 
def show_output_dynamics (sync_output_dynamics)
 Shows several output dynamics (output of each oscillator) during simulation. More...
 
def show_correlation_matrix (sync_output_dynamic, iteration=None)
 Shows correlation matrix between oscillators at the specified iteration. More...
 
def show_phase_matrix (sync_output_dynamic, grid_width=None, grid_height=None, iteration=None)
 Shows 2D matrix of phase values of oscillators at the specified iteration. More...
 
def show_order_parameter (sync_output_dynamic, start_iteration=None, stop_iteration=None)
 Shows evolution of order parameter (level of global synchronization in the network). More...
 
def show_local_order_parameter (sync_output_dynamic, oscillatory_network, start_iteration=None, stop_iteration=None)
 Shows evolution of local order parameter (level of local synchronization in the network). More...
 
def animate_output_dynamic (sync_output_dynamic, animation_velocity=75, save_movie=None)
 Shows animation of output dynamic (output of each oscillator) during simulation on a circle from [0; 2pi]. More...
 
def animate_correlation_matrix (sync_output_dynamic, animation_velocity=75, colormap='cool', save_movie=None)
 Shows animation of correlation matrix between oscillators during simulation. More...
 
def animate_phase_matrix (sync_output_dynamic, grid_width=None, grid_height=None, animation_velocity=75, colormap='jet', save_movie=None)
 Shows animation of phase matrix between oscillators during simulation on 2D stage. More...
 
def animate (sync_output_dynamic, title=None, save_movie=None)
 Shows animation of phase coordinates and animation of correlation matrix together for the Sync dynamic output on the same figure. More...
 

Detailed Description

Visualizer of output dynamic of syncpr network (Sync for Pattern Recognition).

Definition at line 47 of file syncpr.py.

Member Function Documentation

◆ animate_pattern_recognition()

def pyclustering.nnet.syncpr.syncpr_visualizer.animate_pattern_recognition (   syncpr_output_dynamic,
  image_height,
  image_width,
  animation_velocity = 75,
  title = None,
  save_movie = None 
)
static

Shows animation of pattern recognition process that has been preformed by the oscillatory network.

Parameters
[in]syncpr_output_dynamic(syncpr_dynamic): Output dynamic of a syncpr network.
[in]image_height(uint): Height of the pattern (image_height * image_width should be equal to number of oscillators).
[in]image_width(uint): Width of the pattern.
[in]animation_velocity(uint): Interval between frames in milliseconds.
[in]title(string): Title of the animation that is displayed on a figure if it is specified.
[in]save_movie(string): If it is specified then animation will be stored to file that is specified in this parameter.

Definition at line 105 of file syncpr.py.

◆ show_pattern()

def pyclustering.nnet.syncpr.syncpr_visualizer.show_pattern (   syncpr_output_dynamic,
  image_height,
  image_width 
)
static

Displays evolution of phase oscillators as set of patterns where the last one means final result of recognition.

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

Definition at line 54 of file syncpr.py.


The documentation for this class was generated from the following file: