Jump to content

Identifying Peaks and their Rate of Change


Recommended Posts

Hello everybody,

I am very new to SEEQ and have the following problem/question:

I would like to identify each maximum peak of the blue curve (shown below in the figure). Then I would like to compare each maximum peak's value - meaning something like the rate of change of lets say one peak and the upcoming peak. In the end I want to detect a significant change of the signal (marked by red X's) and would like to know its duration (marked by the red arrows).

Thank you.

Regards Matthias395914719_SeeqQuestion.thumb.jpg.6f7672f89cb2bfe27526e0460c22d295.jpg

Link to comment
Share on other sites

  • Seeq Team

Hi Matthias, 

The first question is to identify each maximum peak of the blue trend 

1. First apply an agileFilter to remove noisy signal and calculate the derivative of the signal. Please refer to formula documentation for derivative. Example: 


2. Then use value search to identify increasing trend, example as below and you can optimize accordingly. 


or you can refer to step 4 and 5 from this post : 

3. Use Signal from condition to find the maximum value bounded to the condition created in step 2 and place the timestamp at point of max value: 



Second Question : Rate of change of one peak and the upcoming peak

4.  We can apply the same derivative function. Example: 



Third Question to detect a significant change of the signal (marked by red X's)

5. The max derivative will increase or decrease significantly when there's a sudden change. Example here, we're using the threshold of +-0.005 to detect the changes for max rate decrease and increase respectively. 



Forth Question to know its Duration (marked by the red arrows) : 

6. Use Composite condition to join ''Rate Decreased'' and ''Rate Increased"


8. Calculate Total Duration of ''Join Decreased to Increased'' condition using signal from condition tool. 


Please give this a try to your signal and let us know if you have further question. 



  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...