Package gmisclib :: Module ortho_poly :: Class SLTB
[frames] | no frames]

Class SLTB

source code


Smooth Local Trigonometric Basis. From Bj\:orn Jawerth, Yi Liu, Wim Sweldens, "Signal Compression with Smooth Local Basis Functions".

Instance Methods
 
__init__(self, n=None, x=None, eps=0.5)
Argument n is how many points you want the polynomials evaluated at.
source code
 
compute(self, n) source code
 
r(self, x)
This must have l**2+r**2==1
source code
 
b(self, x) source code
 
wt_(self) source code
 
x_(self, m)
Calculates the points at which the function is evaluated, if you want m evenly spaced points.
source code
 
P(self, i)
Self.P(i) is the ith orthogonal polynomial. (Inherited from gmisclib.ortho_poly.ortho)
source code
 
expand(self, c) (Inherited from gmisclib.ortho_poly.ortho) source code
 
wt(self)
Weighting function to get orthonormality. (Inherited from gmisclib.ortho_poly.ortho)
source code
Static Methods
 
test() source code
Class Variables
  __doc__ = """Smooth Local Trigonometric Bas...
  name = 'SLTB'
  registry = {} (Inherited from gmisclib.ortho_poly.ortho)
Method Details

__init__(self, n=None, x=None, eps=0.5)
(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.

Overrides: ortho.__init__
(inherited documentation)

compute(self, n)

source code 
Overrides: ortho.compute

wt_(self)

source code 
Overrides: ortho.wt_

x_(self, m)

source code 

Calculates the points at which the function is evaluated, if you want m evenly spaced points. The function is assumed to range over the open interval (-eps, 1+eps). You can override this function in a subclass to get a different range.

Overrides: ortho.x_

Class Variable Details

__doc__

Value:
"""Smooth Local Trigonometric Basis.
		From Bj\:orn Jawerth, Yi Liu, Wim Sweldens,
		"Signal Compression with Smooth Local Basis Functions".
		"""