Jump to content

Calculating hourly Avg of a 1 second signal


SeeqKing

Recommended Posts

Hello, This might be a simple question but have not been ale to find help anywhere (Being a beginner).

I would like to know how to calculate hourly avg trend of a signal which is one sec interval.

What I am thinking is: 
Suppose signal is = $a

a) Create value search for hourly capsules? 

b) Taking avg of during those capsules using formula search?

However I would like the time range for this hourly avg to be dependent on time slider. Which means that sliding time should update the trend. 

Any help (Formula snippets) would be appreciated.

 

Link to comment
Share on other sites

  • Administrators

Hi-

 

This can be accomplished using a combination of Periodic Condition and Signal from Condition.  

 

1. First, use Periodic Condition to create the hourly capsules.

Hours.png.d61a851a4c7f0f99eeeaea427db07f15.png

2. Use Signal from Condition to calculate the hourly average.

HourlyAvg.thumb.png.a4f9783934a67e2acfe3ead59724f22a.png

Please let me know if you have any additional questions.

 

Thanks,

Lindsey

  • Thanks 1
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...