multilevel_haar_transform¶
- multilevel_haar_transform(x: ndarray, levels: int = 1) tuple[List[ndarray], List[ndarray]][source]¶
Perform the multilevel discrete Haar wavelet transform on a given signal.
Captures the approximate and detail coefficients per level. The approximate coefficients contain one more element than the detail coefficients.
- Parameters:
- xnp.ndarray
The input signal.
- levelsint
The number of levels to perform the Haar wavelet transform.
- Returns:
- Tuple[List[np.ndarray], List[np.ndarray]]
The approximate and detail coefficients per level.