How to detect the point with the lowest value in a large number of data?
I have a wave that I want to subtract its minimum from it such the new wave will have the same number of data points but a minimum of 0.
Does anyone know how to do it automatically in Igor instead of going through the whole data set?
Thanks,
WaveStats inputWave inputWave -= V_minwhere inputWave is the name of the wave you want to operate on. After doing this you can check it worked by performing wavestats on the wave again. This time V_min should be 0. For more information execute
DisplayHelpTopic "WaveStats"from the command line.Tom
July 26, 2012 at 01:20 am - Permalink
You need to store the output from WaveMin in a variable, then subtract from the wave:
July 26, 2012 at 05:47 am - Permalink