Sstcal
Jump to navigation
Jump to search
Purpose
Create and apply Spectral Subspace Transformation calibration transfer.
Synopsis
- [stdmat, stdvect] = sstcal(spec1,spec2,ncomp,options)
Description
STDGEN can be used to generate direct or piecewise direct standardization matrix with or without additive background correction. It can also be used to generate the transform using the "double window" method. The transform is based on spectra from two instruments, or original calibration spectra and drifted spectra from a single instrument.
Inputs
- spec1 = M by N1 spectra from the standard instrument, and
- spec2 = M by N2 spectra from the instrument to be standarized.
- ncomp = Number of PCs to use.
Outputs
- stdmat = the transform matrix, and
- stdvect = the additive background correction.
Note: if only one output argument is given, no background correction is used.
Options
options = a structure array with the following fields:
- waitbar: ['off' | {'on'}], governs display of waitbar.
See Also
alignpeaks, alignspectra, baseline, caltransfer, deresolv, distslct, mscorr, reducennsamples, registerspec, stdfir, stdgen, stdize, stdsslct, nlstd