Description Usage Arguments Value Warning Author(s) See Also
View source: R/resample.spectrum.R
The function is basically a wrapper to approx
. It takes
a spectrum that is resampled to a wavelength vector given as the
second argument.
1 | resample.spectrum(input, target)
|
input |
an object of class |
target |
either an object of class |
An object of class spectrum
. Most components are straight
copies from input
, except
lambda |
this is the wavelength vector |
value, contdiv, contsub |
the interpolation of
|
noise |
Since the function does not deal with the |
Note that "resampling" actually means "interpolating". I have not
written a proper resampling code yet. Also, the function does not deal
with the noise vector associated with the input
spectrum.
Oliver Czoske
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.