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

Output dynamic description that used to display. More...

Public Member Functions

def __init__ (self, canvas, time, dynamics, separate, color)
 Constructor of output dynamic descriptor. More...
 
def get_axis_index (self, index_dynamic)
 Returns index of canvas where specified dynamic (by index 'index_dynamic') should be displayed. More...
 

Public Attributes

 canvas
 Index of canvas where (or from which) dynamic should be displayed.
 
 time
 Time points.
 
 dynamics
 Dynamic or dynamics.
 
 separate
 Defines how dynamic(s) should be displayed.
 
 color
 Color of dynamic.
 

Detailed Description

Output dynamic description that used to display.

Used by 'dynamic_visualizer' class.

Definition at line 57 of file dynamic_visualizer.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.nnet.dynamic_visualizer.dynamic_descr.__init__ (   self,
  canvas,
  time,
  dynamics,
  separate,
  color 
)

Constructor of output dynamic descriptor.

Parameters
[in]canvas(uint): Index of canvas where dynamic should be displayed, in case of 'separate' representation this argument is considered as a first canvas from that displaying should be done.
[in]time(list): Time points that are considered as a X axis.
[in]dynamics(list): Dynamic or dynamics that should be displayed.
[in]separate(bool|list): If 'True' then each dynamic is displayed on separate canvas, if it is defined by list, for example, [ [1, 2], [3, 4] ], then the first and the second dynamics are displayed on the canvas with index 'canvas' and the third and forth are displayed on the next 'canvas + 1' canvas.
[in]color(string): Color that is used to display output dynamic(s).

Definition at line 64 of file dynamic_visualizer.py.

Member Function Documentation

◆ get_axis_index()

def pyclustering.nnet.dynamic_visualizer.dynamic_descr.get_axis_index (   self,
  index_dynamic 
)

Returns index of canvas where specified dynamic (by index 'index_dynamic') should be displayed.

Parameters
[in]index_dynamic(uint): Index of dynamic that should be displayed.
Returns
(uint) Index of canvas.

Definition at line 96 of file dynamic_visualizer.py.


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