Package lib :: Module voice_misc :: Class cont_kernel_c
[frames] | no frames]

Class cont_kernel_c

source code


An instance of this class produces a window with a specified number of nodes. So, you construct the class (telling it the window size), and that gives you a class instance. Then, you use the class instance (by calling the self.P method) it creates a window with the specified number of nodes.

Instance Methods
 
__init__(self, n=None, x=None)
Argument n is how many points you want the polynomials evaluated at.
source code
 
wt_(self) source code
 
compute(self, nnodes) source code

Inherited from gmisclib.ortho_poly.ortho: P, expand, wt, x_

Class Variables

Inherited from gmisclib.ortho_poly.ortho: registry

Method Details

__init__(self, n=None, x=None)
(Constructor)

source code 

Argument n is how many points you want the polynomials evaluated at. The ordinates of the points are placed in self.x. You may alternatively specify the points as argument x, in which case the x_() function will never be called.

Parameters:
  • n (int or None) - how many points in the window
Overrides: gmisclib.ortho_poly.ortho.__init__

wt_(self)

source code 
Overrides: gmisclib.ortho_poly.ortho.wt_

compute(self, nnodes)

source code 
Parameters:
  • nnodes - Now many zeros does the window have?
Overrides: gmisclib.ortho_poly.ortho.compute