Median
The aggregate forms a value that is the median of all the values of the input signal and produces an output signal that consists of a data point that has a timestamp corresponding to the end of the data group.
\[ \begin{align}\begin{aligned}x \text{ is sorted so that } x_i \le x_{i+1} \text{ for } i = 1 \dots n-1\\\begin{split}median(x) =
\begin{cases}
x_{(n+1)/2} & \text{if } n \text{ is odd }\\
\frac{x_{(n/2)} + x_{(n/2)+1}}{2} & \text{if } n \text{ is even }
\end{cases}\end{split}\end{aligned}\end{align} \]
Configuration

- Signal Name
The name of the signal at the ‘in’ port.
- Operation
To use the average aggregate, the operation must be
median
.- Parameters
- Use Only Good Quality
Only the datapoints with good Quality are used for calculation.
Default: enabled
- Minimum Number Of Required Values
If set the calculation requires a minimum number of values for a good quality.
Default: unset
- Output Signal Name
The name of the signal on the ‘out’ port. If empty, the Signal Name is the Output Signal Name.