poeu
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Library
Downloads
Gallery
Posts posted by poeu
-
-
Hi,
I have a signal that grows and then decreases over a condition. I would like to calculate only the average rate of growth, that is from the start value to the maximum. The signal does not grow monotically, which means that the rate locally decreases before the maximum is attained.
I tried to calculate the rate with this formula, but Seeq would not accept it:
$signal_start = $signal.aggregate(startValue(), $condition, middleKey(), 0s)
$signal_max = $signal.aggregate(maxValue(), $condition, middleKey(), 0s)
$rate = ($signal_max - $signal_start)/($signal.maxKey($condition) - $signal.startKey($condition))
Would you have any suggestion how one could do this without using the derivative() function? Thank you very much in advance for your answer.
Calculate the rate of growth of a signal over a condition
in General Seeq Discussions
Posted
Thank you very much for the quick answer!