필터 지우기
필터 지우기

How to correct for peak shifts in an FTIR spectrum

조회 수: 15 (최근 30일)
Curious Mind
Curious Mind 2017년 5월 29일
댓글: Curious Mind 2017년 5월 30일
Hello: Say I have two spectra, Spectrum A and Spectrum B. Spectrum A is the reference spectrum and spectrum B is one I just collected. I'm trying to match spectrum B with the reference spectrum A. However, I realized that the peaks in B are a bit shifted.
My question is how do I correctly align B to the reference A using matlab. Any matlab code or GUI?
Thank you.

답변 (2개)

Star Strider
Star Strider 2017년 5월 30일
The only possibility I can think of is the alignsignals (link) function. It’s intended for time-domain signals, not spectra, however it could work for you.

Larry McDermott
Larry McDermott 2017년 5월 30일
If it's a simple shift (across the whole range) you can shift one of the spectra by removing leading data points for both the x and y vectors, and then pad the back end of the spectra (I usually just put 0 or the highest Y reading, and increase the x-axis by the step size for however many points the adjustment is for) to maintain a constant # of data points. If it's a nonlinear shift it's less easy, Eigenvector Research has a number of tools including their "Registerspec", "Alignpeaks" and "Alignspectra" which calculate and apply the shift function based on peak locations. http://wiki.eigenvector.com/index.php?title=Calibration_Transfer

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by