Live provides pipe functions to improve signal data processing helping make business decisions.
The pipe function for filtering signals enables removing unwanted harmonic component to have a more clear curve using low/band/high pass filters.
Signal filter pipe function Sine Wave Combined with Multiple Frequencies and Gaussian White Noise
Generate FFT of Original Signal
Applying Low Pass IIR Butterworth Filter
Low pass filter on noised sine FFT of the Filtered Signal
FFT of the filtered signal 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.
Signal find peaks pipe function Signal find troughs pipe function Detecting Peaks and Troughs on a Channel
Wave Generation
Sine Waves
Sine Wave with Noise
Sine noised wave generated Square Wave
Square Wave with Noise
Square Wave with differents Duty Cycles
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 outliers pipe funn 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 )
Example of linear interpolation Example of polynomial interpolation 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.
Example of polynomial interpolation with real data 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:
Example of polynomial regression Example of logarithmic regression Example of exponential regression Exponential Decay
Example of exponential decay regression Example of power regression Real Time Usage
Layer 1:
Layer 2:
Example of real time data polynomial regression Pipeless Aggregations
Latest versions
UI improvement for the aggregations configuration 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.
Editor menu with pipeless aggregations options 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.
Listing all available aggregations After adding the aggregations, the interface assumes a tree-like format.
All available aggregations activated 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.
Moving average configuration Signal filtering configuration Peaks detection configuration Outliers removal configuration 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.
Enable and disable aggregations All configurations can also be done in the view mode.
Configuration in view mode To use a pipeless aggregation create a new temporal chart with the desired channels.
Editor menu with pipeless aggregations options Next select which aggregations are going to be applied over the data.
Applying Moving Average aggregation over the selected channel Applying Filter aggregation, with low pass and butterworth configuration, over the selected channel Applying Outliers aggregation over the selected channel 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.
Hiding the original channel The aggregations can also be added in the visualization mode using the new chart configuration menu.
New chart configuration menu with aggregations It is possible to turn on the filters, moving average and outliers or on a chart to calculate it through a temporal range.
Pipeless aggregation configuration on viewmode Pipeless aggregations on multiple curves