The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 baseline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pink-lisa

UK
Posts

Posted - 08/23/2007 :  09:18:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7
Operating System:windows xp
Hello, I have data from two different worksheets, each worksheet containing many xy data.
I want to compare the spectra, hence, I need each spectra to have a zero baseline.
How can I do this?
cheers
Lisa
x

Mike Buess

USA
3037 Posts

Posted - 08/23/2007 :  10:47:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Lisa,

If you expect a simple DC baseline that can be established from the same region in all curves then plot all curves and mark the baseline region with the Data Selector tool. Then run the following LabTalk script...

i1=mks1; // start of baseline region
i2=mks2; // end of baseline region
type -a baseline points: $(i1) ---> $(i2);
mks1=-1; // hide baseline markers
layer -c; // get list of dataplots
loop(ii,1,count) {
%A=%($(ii),@D);
set %A -b i1;
set %A -e i2;
sum(%A);
set %A -b 1;
set %A -e i3;
%A -= sum.mean;
};

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 08/23/2007 10:50:19 AM
Go to Top of Page

pink-lisa

UK
Posts

Posted - 08/24/2007 :  07:51:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike, when I click on the data selector tool I can't seem to drag them to the y=0 position.

Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 08/24/2007 :  08:07:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is there a data point at y=0? Data selector only goes where there are data.

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000