Module compute::signal[][src]

Various functions for signal processing.

Functions

convolve

Performs a discrete linear convolution of two 1D arrays. Swaps arrays f and w if w is longer than f. The resulting convolution has length n+m-1, where n is the length of f and m is the length of w.

delta

Implements the discretized Delta function.

heaviside

Implements the discretized Heaviside step function.

savitzky_golay

Smooths a signal by applying a Savitzky-Golay filter. The points parameter specifies the number of points to use in the convolution, and should be an odd number. The order parameter specifies the order of polynomial to use in the smoothing.