spectacles (version 0.5-0)

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 Spectra
splice(x, locations = list(c(750, 1000), c(1830, 1950)))

Arguments

x

a Spectra object

locations

the wavelengths to cut out and interpolate

Value

an object of same class as x

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 & Eamon, 2010)

This is based on a description of the splice correction algorithm available on the ASD website at http://support.asdi.com/Document/Documents.aspx.

Examples

Run this code
# NOT RUN {
data(australia)
spectra(australia) <- sr_no ~ ... ~ 350:2500
oz_spliced <- splice(australia)
plot(oz_spliced)

# }

Run the code above in your browser using DataLab