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 for Programming
 Forum for Origin C
 Aligning Spectra

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
masterd Posted - 04/30/2008 : 10:41:51 PM
Origin Version (Select Help-->About Origin): Pro 7.5
Operating System: XP

Due to computer timing and triggering, we are observing the shift in our spectra along the time scale. see pic below, observe the time shift up to half a sec with 50 replicates plotted.

Is it possible in Origin to align the given spectra? Manually, by script, any method or suggestion is welcome!

Once imported into the Origin, data is sorted XY XY, with option of converting it to XYYYY as X is the time axis and is constant for each replicate.

Thanks in advance,

Darko



1   L A T E S T    R E P L I E S    (Newest First)
Dominik Paulkowski Posted - 05/09/2008 : 09:14:34 AM
Hello, Darko!

If I understand you correct you only need a shift correction. I would recommend the determination of each peak maxima and then substract a assumed linear shift that is measured as moving maximae on the time scale.

The "peaks" function can help you to do so. There you can find a script example:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3256
Note: the resulting dataset only carries the row numbers (iSpecificRowNumber) of the maximae in the measured data. You can get the right x,y-values of the peak maxima with "Dataset dsData[iSpecificRowNumber]" or "wksData.GetCell(iSpecificRowNumber, iYRowNumber, strDestValue)".

With the shifting peak maximae at the time scale you can determine a (linear) shift rate.

-------------------
:-Dipl.-Phys. Dominik Paulkowski
Fraunhofer Institute for Surface Engineering and Thin Films (IST)
Braunschweig
Germany

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