splitting wave
madininauk
i would like a post a quick question regarding wave splitting.
Currently, i have a wave obtained from dynamic scanning calorimetry (DSC) measurement. The wave is composed of heating and cooling cycle merge together in the dataset.
I would like therefore to split wave manually the original wave into 2 or 3 other waves (for instance: 1srt heating, 1srt cooling and 2nd heating cycle)
Would be possible to perform such operation directly form a graph window itself or by any other mean?
thank you very much is advance for taking the time to reply.
Kind regards to all.
Anthony
It's quite feasible to write some code that examines two cursors on the graph to split the wave at the indicated locations. The cursors are definitely the way to go, since which wave is to be split is indicated by which trace the cursors are on.
Look at the CsrWaveRef, CsrXWaveRef, pcsr and CsrInfo functions for ideas.
Software Engineer, WaveMetrics, Inc.
September 15, 2009 at 10:49 am - Permalink
Duplicate
operation. For example,Duplicate/R=[101, 200] srcWave, destWave2
You can get more information on the operation by executing the following command on the Igor Pro command line:
DisplayHelpTopic "Duplicate"
I've placed a code snippet for one way to do this interactively at http://www.igorexchange.com/node/1183
Instead of using cursors, as Jim suggested, this snippet uses the limits of the X axis the trace is plotted against to get the range over which it should be duplicated. However you could add another menu item to use the cursor positions instead of limit of the graph window if you wanted.
September 15, 2009 at 10:55 am - Permalink