Module compute::signal[][src]

Expand description

Various functions for signal processing.

Functions

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.

Implements the discretized Delta function.

Implements the discretized Heaviside step function.

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.