Stdfir: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Standardization using FIR filtering. | Standardization using FIR filtering. | ||
===Synopsis=== | ===Synopsis=== | ||
:sspec = stdfir(nspec,rspec,win,''mc'') | :sspec = stdfir(nspec,rspec,win,''mc'') | ||
===Description=== | ===Description=== | ||
STDFIR is a moving window multiplicative scatter correction with a fixed window size. This algorithm uses an inverse least squares regression. (Also see | |||
Inputs are nspec the new spectra to be standardized, rspec the standard spectra from the standard instrument (a row vector that is a reference spectrum), and win | STDFIR is a moving window multiplicative scatter correction with a fixed window size. This algorithm uses an inverse least squares regression. (Also see [[mscorr]].) | ||
If the optional input ''mc'' is 1 {default} the regression allows for an offset and a slope, if ''mc'' is set to 0 only the slope is used (no offset is used i.e. it is a force fit through zero). | |||
The output is sspec the standardized spectra. This routine is based on the method discussed in | Inputs are <tt>nspec</tt> the new spectra to be standardized, <tt>rspec</tt> the standard spectra from the standard instrument (a row vector that is a reference spectrum), and <tt>win</tt>, the window width (must be an odd number). | ||
Blank, T.B., Sum, S.T., Brown, S.D., and Monfre, S.L., "Transfer of Near-Infrared Multivariate Calibrations without Standards", ''Anal. Chem.'', 68(17), 2987-2995, 1996. | |||
If the optional input ''<tt>mc</tt>'' is 1 {default} the regression allows for an offset and a slope, if ''mc'' is set to 0 only the slope is used (no offset is used i.e. it is a force fit through zero). | |||
The output is <tt>sspec</tt> the standardized spectra. This routine is based on the method discussed in | |||
: Blank, T.B., Sum, S.T., Brown, S.D., and Monfre, S.L., "Transfer of Near-Infrared Multivariate Calibrations without Standards", ''Anal. Chem.'', 68(17), 2987-2995, 1996. | |||
===See Also=== | ===See Also=== | ||
[[mscorr]], [[stdgen]] | [[mscorr]], [[stdgen]] |
Latest revision as of 13:43, 9 October 2008
Purpose
Standardization using FIR filtering.
Synopsis
- sspec = stdfir(nspec,rspec,win,mc)
Description
STDFIR is a moving window multiplicative scatter correction with a fixed window size. This algorithm uses an inverse least squares regression. (Also see mscorr.)
Inputs are nspec the new spectra to be standardized, rspec the standard spectra from the standard instrument (a row vector that is a reference spectrum), and win, the window width (must be an odd number).
If the optional input mc is 1 {default} the regression allows for an offset and a slope, if mc is set to 0 only the slope is used (no offset is used i.e. it is a force fit through zero).
The output is sspec the standardized spectra. This routine is based on the method discussed in
- Blank, T.B., Sum, S.T., Brown, S.D., and Monfre, S.L., "Transfer of Near-Infrared Multivariate Calibrations without Standards", Anal. Chem., 68(17), 2987-2995, 1996.