Signal Processing
Live provides pipe functions to improve signal data processing helping make business decisions.
Filters
The pipe function for filtering signals enables removing unwanted harmonic component to have a more clear curve using low/band/high pass filters.

Sine Wave Combined with Multiple Frequencies and Gaussian White Noise
Generate FFT of Original Signal
Applying Low Pass IIR Butterworth Filter
FFT of the Filtered Signal
Peak Detection
The pipes find peaks function is used to find peaks or valleys within a given sample. The values found can be filtered within a certain range that can take into account its height, plateau size, distance, prominence and width.


Detecting Peaks and Troughs on a Channel
Wave Generation
Sine Waves
Sine Wave with Noise
Square Wave
Square Wave with Noise
Square Wave with differents Duty Cycles
Outliers Removal
An outlier is an observation that is unusually far from the other values in a data set. Remove outlier is a common process to have a more clear data.

Remove the top 5% and bottom 5% values
Interpolation functions
We can use pipes to estimate a point using interpolation functions.

In pipes we have two types of interpolation linear and polynomial ( lagrange method )


Here's an example where the linear interpolation function can be used with real time data. On pipes based chart create two layers with the snippets bellow.
The result should be something like the image bellow.

Multi Linear Regression
Multi linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. There are several types of regression functions, including linear, polynomial, logarithmic, exponential, exponential decay, and power functions. The output of a regression analysis typically includes predicted values, coefficients, and statistical measures of goodness-of-fit.
The Multi Linear Regression pipes functions aggregate data over a certain period of time receiving the x and y values, the type of the function and, in the case of the polynomial, the degree. The return type is a row containing the predicted values, which is a sequence of numbers, the function coefficients, and, if present an error indicating what went wrong in the format of a string. These errors can be caused in case of using a invalid type or not enough data to make the regression. Therefore, their signature goes like the snippet below:
For all examples (except real-time) the same base layer is used:
Polynomial

Logarithmic

Exponential

Exponential Decay

Power

Real Time Usage
Layer 1:
Layer 2:

Pipeless Aggregations
Latest versions

In this new update the aggregations are nested within the channel card to provide a better comprehension of what data is being used to create the modified series. To add a new aggregation to a channel click on the + button next to channel name.

Then select which aggregation is going to be created. At this point the plugin-processing provides the following aggregation types the corresponds to the pipes functions listed previously in this document: Moving Average, Signal Filtering, Peak and Through Detections and Outliers removal.

After adding the aggregations, the interface assumes a tree-like format.

The follow four images shows how the configurations are now set for the aggregation functions. Each of then has their own configuration panel, where the user can even customize the plotting style.




The peaks detection configuration uses a different plotting style (scatter). At this point is possible to plot the aggregation to use line or scatter plot.

Enabling and disabling aggregation can be done using a eye button like the channels cards.

All configurations can also be done in the view mode.

Older versions
To use a pipeless aggregation create a new temporal chart with the desired channels.

Next select which aggregations are going to be applied over the data.



Each aggregation has configuration fields that resembles the parameters passed to a correspondent pipes function.
It's possible to hide the original channel using the chart legend.

The aggregations can also be added in the visualization mode using the new chart configuration menu.

It is possible to turn on the filters, moving average and outliers or on a chart to calculate it through a temporal range.


Last updated
Was this helpful?