cr.sparse.wt.DiscreteWavelet

class cr.sparse.wt.DiscreteWavelet(support_width: int = -1, symmetry: cr.sparse._src.wt.wavelet.SYMMETRY = <SYMMETRY.UNKNOWN: -1>, orthogonal: bool = False, biorthogonal: bool = False, compact_support: bool = False, name: str = '', family_name: str = '', short_name: str = '', dec_hi: Optional[jaxlib.xla_extension.DeviceArrayBase] = None, dec_lo: Optional[jaxlib.xla_extension.DeviceArrayBase] = None, rec_hi: Optional[jaxlib.xla_extension.DeviceArrayBase] = None, rec_lo: Optional[jaxlib.xla_extension.DeviceArrayBase] = None, dec_len: int = 0, rec_len: int = 0, vanishing_moments_psi: int = 0, vanishing_moments_phi: int = 0)[source]

Represents information about a discrete wavelet

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

wavefun([level])

Returns the scaling and wavelet functions for the wavelet

Attributes

biorthogonal

Indicates if the wavelet is biorthogonal

compact_support

Indicates if the wavelet has compact support

dec_hi

Decomposition high pass filter

dec_len

Length of decomposition filters

dec_lo

Decomposition low pass filter

family_name

Name of the wavelet family

filter_bank

Returns the Quadratrure Mirror Filter Bank associated with the wavelet (dec_lo, dec_hi, rec_lo, rec_hi)

inverse_filter_bank

Returns the filter bank associated with the inverse wavelet

name

Name of the wavelet

orthogonal

Indicates if the wavelet is orthogonal

rec_hi

Reconstruction high pass filter

rec_len

Length of reconstruction filters

rec_lo

Reconstruction low pass filter

short_name

Short name of the wavelet family

support_width

Length of the support for finite support wavelets

symmetry

Indicates the kind of symmetry inside the wavelet

vanishing_moments_phi

Number of vanishing moments of the scaling function

vanishing_moments_psi

Number of vanishing moments of the wavelet function