View source: R/gen_coreDataManip.r
do_resampleNIR | R Documentation |
Resample the data in the provided dataset to new, possibly evenly spaced, wavelengths.
do_resampleNIR(
dataset,
targetWls = NULL,
tby = 0.5,
method = getstn()$gen_resample_method
)
dataset |
An object of class 'aquap_data' as produced e.g. by
|
targetWls |
Numeric vector, the target wavelengths. If left at the
default |
tby |
Numeric length one, the spacing in nm of the automatically
generated target wavelength. Only applies if |
method |
The resampling method. For details see
|
If nothing is provided for the argument targetWls
, an evenly
spaced vector from the lowest to the highest available wavelength
is automatically generated as the target wavelengths to be resampled to.
The resampled dataset.
Other Data pre-treatment functions:
[,aquap_data-method
,
do_addNoise()
,
do_avg()
,
do_blowup()
,
do_detrend()
,
do_emsc()
,
do_gapDer()
,
do_msc()
,
do_sgolay()
,
dpt_modules
,
selectWls()
,
ssc()
## Not run:
fd <- gfd()
fdR <- do_resampleNIR(fd)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.