Spectral Preprocessing (SNV, MSC, Derivatives)
Spectral preprocessing applies row-wise transforms such as standard normal variate, multiplicative scatter correction and Savitzky-Golay derivatives to remove scatter, baseline and offset effects from spectra.
스펙트럼 전처리는 표준 정규 변량, 곱셈 산란 보정, Savitzky-Golay 도함수 같은 행 단위 변환으로 스펙트럼의 산란·기저선·오프셋 영향을 없애는 방법입니다.
My NIR spectra show baseline shifts and multiplicative scatter between samples; which preprocessing should I apply before PLS or PCA?
근적외 스펙트럼에 시료마다 기저선 이동과 곱셈 산란이 있는데, PLS 나 PCA 전에 어떤 전처리를 해야 하나요?
Standard normal variate centres and scales each spectrum, and multiplicative scatter correction regresses each spectrum on a reference spectrum and removes the fitted offset and slope. Savitzky-Golay first or second derivatives remove additive and linear baselines while smoothing, and column-wise mean centring or autoscaling is usually applied last. Extended MSC adds polynomial baseline terms in wavelength to the MSC regression, so sloped or curved baselines are removed together with the scatter offset and slope.
When to use Spectral Preprocessing (SNV, MSC, Derivatives)
- Spectra differ by additive offsets or multiplicative scatter unrelated to chemistry.
- Baselines drift and derivatives are needed to sharpen overlapping bands.
- A consistent preprocessing step is required before PLS, PCA or classification models.
When to use something else
- Variables are not ordered along a spectral axis; use column-wise standardisation only.
- Physical or chemical interferents with known spectra must be modelled explicitly; use EMSC with interferent spectra or orthogonal signal correction.
Assumptions and requirements
- Columns are wavelengths in spectral order (numeric names give the spacing).
- Scatter effects are additive and multiplicative across the whole spectrum.
- The same preprocessing and MSC reference are applied to new spectra.
What the analysis reports
- Mean and SD per wavelength before and after preprocessing (up to 60 wavelengths)
- MSC reference spectrum and per-sample slopes
- Relative between-spectrum spread before and after
- Optional extended MSC (EMSC): each spectrum is regressed on the reference spectrum plus a polynomial baseline in the scaled wavelength axis (degree 0 to 6, default 2), with per-sample multiplicative and baseline coefficients
How to report it
Spectra (n = [value], [value] wavelengths) were preprocessed with a Savitzky-Golay first derivative (window [value], polynomial order [value]); the relative between-spectrum spread fell from [value] to [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Spectral Preprocessing (SNV, MSC, Derivatives) itself, at the same price.
- Multiplicative Scatter Correction — method set to “msc”
- Extended Multiplicative Scatter Correction (EMSC) — method set to “emsc”
- Pareto Scaling of Spectral Variables — method set to “pareto”
- Spectral Detrending — method set to “detrend”
Related methods
- Partial Least Squares Regression
- Baseline Correction
- PCA Process Diagnostics (Hotelling T² and Q Residuals)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Spectral Preprocessing (SNV, MSC, Derivatives) on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.