# Resampler

We store the values of the brownian motion and the time intervals are now different. This means that the values are not given equitemporial. Now we want to know, what are the values for every second.

This is when we use the resampler stream aggregator. It creates new values that are interpolated by using the values from the store. There are three kinds of interpolation: 'previous', 'linear' and 'next'. In this example, we are using the 'linear' interpolation. We also set the interval to 1000, which means that we want to get the interpolated values for every second (1000 miliseconds).

The graph below represents brownian motion and linear resampler values gained by the resampler stream aggregator.