1
$\begingroup$

Are there any online recursive filters that can approximate local, time-varying minimum and maximum values of a time series?

$\endgroup$
2
  • $\begingroup$ What do you mean by "online" ? Do you want to submit a time series to a web site ? $\endgroup$
    – Hilmar
    Apr 25 '20 at 14:29
  • $\begingroup$ @Hilmar online meaning real-time and not using future temporal data $\endgroup$
    – Jase
    Apr 25 '20 at 23:52
1
$\begingroup$

I think you are looking for a "peak" detectors. They are not filters in the conventional sense. Typically the output is increased when the incoming sample is either above a certain threshold or above the current output and decreased if it's smaller. The increase and decrease are often just simple exponential with time constants determined by your application. The increase time constant is typically called "attack" time and the decrease time constant is "decay" time.

$\endgroup$
1
  • $\begingroup$ Do you know the name of a good peak detector that I can research, which fits the requirements of (i) not using future data, (ii) real-time and recursive calculation? Thanks $\endgroup$
    – Jase
    Apr 27 '20 at 0:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.