Seeq Team Allison Buenemann Posted May 1, 2019 Seeq Team Share Posted May 1, 2019 FAQ: I want to create a condition where a trend is within a specific range of slope so as to identify instances where it falls inside and outside these ranges. Is this possible? Solution: This can be easily done using a combination of the Formula and Value Search tools in the sequence below. Use formula to calculate a new signal that is the derivative of the original signal. Formula code is: $signal.derivative() Note - if the original signal is step interpolated, the derivative returned may have infinite values. If it is step interpolated, it is best to first change the interpolation method to linear, then take the derivative. Formula code for this method is: $signal.toLinear().derivative() Use the value search tool on your new derivative signal to create a condition when your derivative is above or below a particular value, or in a specified range. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now