pyclustering.gcolor.sync.syncgcolor_analyser Class Reference

Analyser of output dynamic of the oscillatory network syncgcolor. More...

+ Inheritance diagram for pyclustering.gcolor.sync.syncgcolor_analyser:
+ Collaboration diagram for pyclustering.gcolor.sync.syncgcolor_analyser:

Public Member Functions

def __init__ (self, phase, time, pointer_sync_analyser)
 Constructor of the analyser. More...
 
def allocate_color_clusters (self, tolerance=0.1)
 Allocates clusters, when one cluster defines only one color. More...
 
def allocate_map_coloring (self, tolerance=0.1)
 Allocates coloring map for graph that has been processed. More...
 
- Public Member Functions inherited from pyclustering.nnet.sync.sync_dynamic
def output (self)
 (list) Returns output dynamic of the Sync network (phase coordinates of each oscillator in the network) during simulation.
 
def time (self)
 (list) Returns sampling times when dynamic is measured during simulation.
 
def __init__ (self, phase, time, ccore=None)
 Constructor of Sync dynamic. More...
 
def __del__ (self)
 Default destructor of Sync dynamic.
 
def __len__ (self)
 Returns number of simulation steps that are stored in dynamic. More...
 
def __getitem__ (self, index)
 Indexing of the dynamic.
 
def allocate_sync_ensembles (self, tolerance=0.01, indexes=None, iteration=None)
 Allocate clusters in line with ensembles of synchronous oscillators where each synchronous ensemble corresponds to only one cluster. More...
 
def allocate_phase_matrix (self, grid_width=None, grid_height=None, iteration=None)
 Returns 2D matrix of phase values of oscillators at the specified iteration of simulation. More...
 
def allocate_correlation_matrix (self, iteration=None)
 Allocate correlation matrix between oscillators at the specified step of simulation. More...
 
def calculate_order_parameter (self, start_iteration=None, stop_iteration=None)
 Calculates level of global synchorization (order parameter). More...
 
def calculate_local_order_parameter (self, oscillatory_network, start_iteration=None, stop_iteration=None)
 Calculates local order parameter. More...
 

Detailed Description

Analyser of output dynamic of the oscillatory network syncgcolor.

Definition at line 32 of file sync.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.gcolor.sync.syncgcolor_analyser.__init__ (   self,
  phase,
  time,
  pointer_sync_analyser 
)

Constructor of the analyser.

Parameters
[in]phase(list): Output dynamic of the oscillatory network, where one iteration consists of all phases of oscillators.
[in]time(list): Simulation time.
[in]pointer_sync_analyser(POINTER): Pointer to CCORE analyser, if specified then other arguments can be omitted.

Definition at line 38 of file sync.py.

Member Function Documentation

◆ allocate_color_clusters()

def pyclustering.gcolor.sync.syncgcolor_analyser.allocate_color_clusters (   self,
  tolerance = 0.1 
)

Allocates clusters, when one cluster defines only one color.

Parameters
[in]tolerance(double): Defines maximum deviation between phases.
Returns
(list) Clusters [vertices with color 1], [vertices with color 2], ..., [vertices with color n].

Definition at line 51 of file sync.py.

Referenced by pyclustering.gcolor.sync.syncgcolor_analyser.allocate_map_coloring().

◆ allocate_map_coloring()

def pyclustering.gcolor.sync.syncgcolor_analyser.allocate_map_coloring (   self,
  tolerance = 0.1 
)

Allocates coloring map for graph that has been processed.

Parameters
[in]tolerance(double): Defines maximum deviation between phases.
Returns
(list) Colors for each node (index of node in graph), for example [color1, color2, color2, ...].

Definition at line 64 of file sync.py.


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