Applying a procedure to all waves
I am quite new to IGOR, so any help is appreciated. I feel this is quite a simple general question. I have 50 waves and would like to automate applying a procedure to each of these waves (i.e. in a table). The waves are named in increments i.e. in the format wave_% where % goes from 0 to 50.
How would I construct some sort of loop to apply to the waves? This would save me applying the function in the procedure to all 50 waves manually in the command window!
Thank you.
If you want to do the same thing to sequentially named waves that are all within the same data folder (if you haven't learned about data folders yet, they probably are), you can use code like this below:
To use this function, you might execute the following command from the Igor command line:
NOTE: You mentioned something about a table. I didn't know what you meant, so ignored that part. Were you trying to do the same thing to many waves, all of which are displayed in a table?
July 3, 2009 at 09:10 am - Permalink