spectralAnalysis (version 3.12.0)

wavelengthAlign: Align SpectraInTime objects with differing wavelength axes to a common wavelength axis using cubic spline interpolation.

Description

Align SpectraInTime objects with differing wavelength axes to a common wavelength axis using cubic spline interpolation.

Usage

wavelengthAlign(ref, toAlign)

# S4 method for SpectraInTime,SpectraInTime wavelengthAlign(ref, toAlign)

# S4 method for SpectraInTime,list wavelengthAlign(ref, toAlign)

Arguments

ref

SpectraInTime-class object with the reference wavelength vector

toAlign

SpectraInTime-class object(s) to be aligned. This can either be a single SpectraInTime object or a list of SpectraInTime objects. In case of a list, all objects in the list should have the same wavelength axis.

Value

List of aligned SpectraInTime objects, including the reference object.