Skip to contents

Computes the 1D discrete wavelet transform using the "à trous" (with holes) algorithm. This is a non-decimated transform, meaning the signal length remains constant across scales.

Usage

fatrous1d(rx, rh, snmin, snmax, sj)

Arguments

rx

A numeric vector representing the input signal (e.g., radial distances).

rh

A numeric vector representing the filter coefficients.

snmin

The minimum scale index for the filter.

snmax

The maximum scale index for the filter.

sj

The current scale index (j >= 1).

Value

A numeric matrix (1 x length(rx)) representing the convolution result.

Examples

# Internal use example:
sig <- rnorm(512)
filter <- c(0.0625, 0.25, 0.375, 0.25, 0.0625)
res <- fatrous1d(sig, filter, -2, 2, 1)