heedy / pipescript

A simple pipe-based filtering and data-transform language built for processing time series
https://heedy.org/analysis/pipescript/
Apache License 2.0
6 stars 1 forks source link

reset #16

Closed dkumor closed 8 years ago

dkumor commented 8 years ago

Since transforms have state, performing things such as interpolation and averaging needs some way to "reset" the pipeline state during runtime.

reset(i%10==0,sum) | if i%10==9

will return the sum of every 10 datapoints