Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

splice

Splice correction of a spectra collected using ASD hardware


Description

This is the correction method available in the ViewSpec Pro software from ASD, which aims at correcting steps in the data (see details).

Usage

## S4 method for signature 'Spectra'
splice(x, locations = list(c(750, 1000), c(1830, 1950)))

Arguments

x

a Spectra object

locations

the wavelengths to cut out and interpolate

Details

The SWIR1 part of the spectrum (1000-1800 nm) is taken as a reference for corrections as it is stable to the instrument sensitivity drift (Beal and Eamon, 2010)

This is based on a description of the splice correction algorithm described in:

Beal, D. and Eamon, M., 1996. Dynamic, Parabolic Linear Transformations of 'Stepped' Radiometric Data. Analytical Spectral Devices Inc., Boulder, CO.

Value

an object of same class as x

Author(s)

Pierre Roudier pierre.roudier@gmail.com

Examples

data(australia)
spectra(australia) <- sr_no ~ ... ~ 350:2500
oz_spliced <- splice(australia)
plot(oz_spliced)

spectacles

Storing, Manipulating and Analysis Spectroscopy and Associated Data

v0.5-3
GPL-3
Authors
Pierre Roudier [aut, cre], Max Kuhn [ctb], Kristian Hovde Liland [ctb], Bjorn-Helge Mevik [ctb], Hadley Wickham [ctb], Raphael Viscarra Rossel [dtc]
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.