| 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 |
|
|