By Category > Calculated Signals
Calculated Signals
Customize Marple to your liking!

There are two types of calculations you can perform on signals:

  • Standard functions
  • Custom functions

Standard Functions

To create a standard function, select the signal on which you want to do a calculation, hit the 'FUNCTIONS' button and you should see a preview window appear.

There are multiple standard functions, a detailed explanation can be found here:

Moving Average

Central moving average that takes the average of (window / 2) samples to the left, the current sample and (window / 2 - 1) samples to the right.


  • Window

Cumulative sum

Calculates the sum of all samples to the left and the current sample.


  • Gain


Calculates the backwards discrete derivative of the signal.

d[k] = (v[k] - v[k-1]) / (t[k] - t[k-1])


  • Gain


Calculates the backwards difference of the signal.


Calculates a simple calibration for a signal.

c = (v + offset) * scale


  • scale
  • offset


Removes outliers from a signal. All values outside the bounds will be removed.


  • max bound
  • min bound


Clamps a signal. All values outside the bounds will be clamped to the bound.


  • max bound
  • min bound


Zeroing removes the bias of a signal by subtracting the first value of the signal of all the datapoints.

Sample shift

Shift the entire signal with a few samples.


  • offset

Custom functions

Standard functions let you create some more complex functions on data, but sometimes you just need to make a custom function where you add, subtract, .. some signals with each other. The custom functions are the place to be.

To create a custom function press the create signal button in the signal sidebar, this should by default switch to the custom function modal.

Note that in your formula, make sure the signal names are between brackets. To make things easier you can search signals on the right side and click the signal names to add them in the formula.


[sig_a]^2 + log([sig_b])/[sig_c_LP]
abs(sin([sig_a] * pi()))

Supported Operators