smart_signal_processing library

Classes

BaseLine
This class provides function to subtract a "baseline" from an array. The baseline is a linear function computed from the array contents. The functions are useful for measured signal showing a linear baseline distortion due to imperfections in the measurement device.
FFT
This class provides forward and inverse in-place Radix 2 Fourier transforms for discrete data stored in a 1D array. Input data may be ordered in several ways. In addition, the class provides a combi-transform that transforms a series of arrays, optionally applying an apozidation (window) function and baseline adjustment. The transform algorithm itself is based on MIT-licensed js code of Nayuki Minase, see http://nayuki.eigenstate.org/page/free-small-fft-in-multiple-languages.
Phase
This class provides method for complex-valued arrays: Phasing (rotation in the complex plane), power and magnitude calculation.
Sigma
This class provides functions to compute the mena value, the variance and the standard deviation of the data in an array.
WinFunc
This class provides windowing (apodization) function that are for example applied to measured time signals before Fourier transforming them, e.g. to obtain an optima for data resultion in the presence of noise.

Typedefs

RowDoneCallback(int row) → void