calculating mean
finn
Wed, 10/13/2010 - 08:22 am
a quite time consuming solution would be to make it like this:
meanvalue = (wave0+wave1+...+wave249)/250
and I am sure it is much easier...
thanks,
Finn
Wed, 10/13/2010 - 08:22 am
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 13, 2010 at 09:46 am - Permalink
October 16, 2010 at 05:24 am - Permalink
I tried Analysis>Wave Average and name template as *. it created one wave in which some average values are there but i am not able to figure out, which row correspond to average value of which wave?
May 22, 2012 at 12:41 am - Permalink
May 22, 2012 at 09:04 am - Permalink
May 22, 2012 at 06:56 pm - Permalink
I have created a snippet showing how to do this. Read the comments for an explanation.
In order to use this you need to understand some Igor concepts. If you have not already done it, I recommend that you do the first half of the Guided Tour of Igor. Choose Help->Getting Started.
If you have not already done it, you should read Chapter IV-3, User-Defined Functions, in the Igor manual.
The snippet uses wave reference waves and free waves. Here are the help topics:
DisplayHelpTopic "Free Waves"
If you don't have a solid understanding of wave references. Here is the help topic:
The GetWaveAverages will do what you want but you must figure out how to create a wave containing the list of wave references for the waves you want to average. The GetWaveAveragesFromTable function shows one way to do this.
May 22, 2012 at 09:37 pm - Permalink