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
 Help needed on automating baseline function

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
simplive Posted - 05/28/2002 : 10:16:47 PM
Hello all,

I am using CCD camera (an imaging device that is very sensitive to light) to take spectroscopic data. Briefly, after scanning the spectrum, I get 80 .dat files. Since there is a constant, irregular background and the signal position(i.e., peak position) keeps changing during scanning, I want to use Origin's baseline function to automatically find the peak, substract the baseline and integrate the peak to get signal intensity.

I found a script file to open and plot these 80 files automatically, but when I tried to incorporate the baseline.ogs file by adding
"run.file(baseline);" after the plotting part in the "For" command script, it didn't work.

I understand that the operation of Origin must be more subtle than I previously imagined. If any one of you is familiar with such problem, your suggestion will be greatly appreciated.

Thank you all for your time!
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 05/30/2002 : 1:33:08 PM
As this user may have discovered, the correct syntax for launching the Baseline tool is:

dialog.start(tools,baseline)

For 7.0 SR1 this is changed to:

dialog.start(otools,baseline)

The tool requires user interaction, but this user is looking for script-automated baseline finding.
Anyone up to the challenge?


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