Subtracting baseline and peak integration

Hello,

I have some data that contains a non-linear background and a peak. How would I go about removing this background curve from the data so that I could integrate the area under the peak? Ive tried using TN020 but I can't seem to make much sense of it.

I've attached a table of the type of data I have. The file contains three columns, the first is the X axis range, and the next two are series of data that each have a unique background and peak.

Any help would be greatly appreciated!
igor file.pxp (10.13 KB)
john_crow wrote:
Hello,

I have some data that contains a non-linear background and a peak. How would I go about removing this background curve from the data so that I could integrate the area under the peak? Ive tried using TN020 but I can't seem to make much sense of it.

I've attached a table of the type of data I have. The file contains three columns, the first is the X axis range, and the next two are series of data that each have a unique background and peak.

Any help would be greatly appreciated!


Your x wave (wave0) is linear, so you should convert your two Y waves to waveforms by applying X scaling.

If none of those words makes sense, please read this Help topic:
DisplayHelpTopic "Waves - The Key Igor Concept"

Your X wave is a little ragged (the increments vary a little), but I suspect you could use an Igor command like:

Setscale/I x, 600,800,"", wave1, wave2

to do the job.


--Jim Prouty
Software Engineer, WaveMetrics, Inc.