Hi -
I am new to Seeq but have completed the Foundations course. I am trying to calculate the average of a signal over a 12 hour period. Since "Periodic -> Hours" only produces one capsule per day, I created 2 conditions, both Periodic -> Hours (12), with the second ($Second12h) offset from midnight by 12 hours. I then was able to calculate the average with this formula, averaging the 12 hour averages
average(
$signal.aggregate(average(), $First12h, startkey()),
$signal.aggregate(average(), $Second12h, startkey())
)
Is there a more elegant way of doing this? I actually want to shrink down the periods to 6 hours or lower, so trying to see if I will need to create a large number of conditions (24/x conditions, where x is the length of the period in hours)
Thanks!
David Edelman.