Align SpectraInTime objects with differing wavelength axes to a common wavelength axis using cubic spline interpolation.
wavelengthAlign(ref, toAlign)# S4 method for SpectraInTime,SpectraInTime
wavelengthAlign(ref, toAlign)
# S4 method for SpectraInTime,list
wavelengthAlign(ref, toAlign)
SpectraInTime-class
object with the reference wavelength vector
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.
List of aligned SpectraInTime objects, including the reference object.