bob.sp.DCT1D

class bob.sp.DCT1D((object)self, (int)length) → None

Bases: bob.sp._sp.DCT1DAbstract

Objects of this class, after configuration, can compute the direct DCT of a 1D array/signal.

__init__( (object)self, (DCT1D)other) -> None

__init__((object)self, (int)length) → None

__init__( (object)self, (DCT1D)other) -> None

Methods

__init__((object)self, (int)length) __init__( (object)self, (DCT1D)other) -> None
reset((DCT1D)self, (int)length) Reset the length of the expected input signals.

Attributes

length Length of the array to process.
__call__((DCT1D)self, (object)input, (object)output) → None :

Compute the DCT of the input 1D array/signal. The output should have the expected size and type (numpy.float64).

__call__( (DCT1D)self, (object)input) -> object :
Compute the DCT of the input 1D array/signal. The output is allocated and returned.
length

Length of the array to process.

reset((DCT1D)self, (int)length) → None :

Reset the length of the expected input signals.