ir_bc_rubberband: Performs baseline correction on infrared spectra using a rubberband algorithm
Description
ir_bc_rubberband performs baseline correction for infrared spectra
using a rubberband algorithm. ir_bc_rubberband is an extended wrapper
function for hyperSpec::spc.rubberband().
Usage
ir_bc_rubberband(x, return_bl = FALSE)
Value
An object of class ir with the baseline corrected spectra and,
if returnbl = TRUE, the baselines.
Arguments
x
An object of class ir.
return_bl
A logical value indicating if for each spectrum the baseline
should be returned instead of the corrected intensity values
(return_bl = TRUE) or not (return_bl = FALSE).