spec.denoise: Smooth function for reflectance spectra.

View source: R/colourvision_package.R

spec.denoiseR Documentation

Smooth function for reflectance spectra.

Description

Applies a smooth.spline for data frame containing spectrometric data.

Usage

spec.denoise(specfiles, spar = 0.7, ...)

Arguments

specfiles

A data frame with first column representing wavelength values and following columns with reflectance data.

spar

see smooth.spline. Smoothing parameter, typically (but not necessarily) in (0,1].

...

Other arguments passed to function smooth.spline.

Value

A data frame with first column representing wavelength values and following columns with reflectance data.

Author(s)

Felipe M. Gawryszewski f.gawry@gmail.com


colourvision documentation built on April 13, 2025, 5:11 p.m.