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
 All Forums
 Origin Forum
 Origin Forum
 Problems with Baseline

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
icb3 Posted - 06/08/2007 : 4:37:13 PM
Origin Version (Select Help-->About Origin): 7.0
Operating System: Win 2000

None of the automatic baseline finders consistently work for data sets I typically plot. What does work for me is if I use statistics to find the mean of the first 200 data points and then subtract that value...

This seems like it should be an easy thing to automate, but I have only limited C++ programming experience and none with OriginC or LabScript.

Any suggestions would be greatly appreciated.
Thanks,
Isaac
2   L A T E S T    R E P L I E S    (Newest First)
icb3 Posted - 06/09/2007 : 2:42:11 PM
Thanks Mike - works great!

I think I need to sit down and spend some quality time with the help file.
Mike Buess Posted - 06/08/2007 : 5:32:44 PM
Hi Isaac,

Here's a simple LabTalk script that will do what you want. You can assign it to the Custom Routine button as explained here and run it on the active dataplot in a graph or the highlighted worksheet column.

get %C -e npt; // how many points in active curve?
set %C -e 200; // set end to 200 pts
sum(%C); // stats on curve
set %C -e npt; // reset end
%C -= sum.mean; // subtract mean



Mike Buess
Origin WebRing Member

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000