API

Contents

API#

Wilson-Daubechies-Mayer wavelet transform.

wdmwavelet.rwdm(x, nt, nf, trans_width, steepness, axis=-1)[source]#

Compute WDM transform for real input.

Parameters:
  • x (array_like) – Input array.

  • nt (int) – N_t.

  • nf (int) – N_f.

  • trans_width (float) – Width of transition interval.

  • steepness (float) – Steepness of transition interval.

  • axis (int) – Axis to be transformed.

Returns:

w – WDM coefficients, stored in the last two axes.

Return type:

np.ndarray

wdmwavelet.irwdm(w, trans_width, steepness)[source]#

Compute the inverse of real WDM transform rwdm.

Parameters:
  • w (array_like) – Input WDM coefficients, stored in the last two axis.

  • trans_width (float) – Width of transition interval.

  • steepness (float) – Steepness of transition interval.

  • axis (int)

Returns:

Inverse of w.

Return type:

np.ndarray