Smooth()
Fill of data gaps in the data.
The function interpolates the missing values of time dependent data and returns linearly interpolated values. ExponentialSmoothing algorithm does not touch the raw data in the database. In case of using the gap filling function on any data keep in mind that the raw data stays the same with no gaps filled.
Returns the exponentially weighted moving average of the specified PetroVisor signal.
Syntax
Smooth(expression)
- expression: signal expression
Example
Smooth("produced water per time increment" in "STB")
Returns the data of the specified PetroVisor signal filtered by SavitzkyGolay filter, using a moving window the size of the specified number.
Syntax
Smooth( numericExpression, timeWindow)
Smooth( numericExpression, depthWindow)
Example
Smooth("oil production rate" in "m3/h", 9)
Returns the weighted moving average of the specified PetroVisor signal for the specified number of time steps before and after the current time step.
Syntax
Smooth(numericExpression, pointsBefore, pointsAfter)
Example:
Smooth("oil production rate" in "m3/h", 5, 0)