wavelengthAlign | R Documentation |
Align SpectraInTime objects with differing wavelength axes to a common wavelength axis using cubic spline interpolation.
wavelengthAlign(ref, toAlign) ## S4 method for signature 'SpectraInTime,SpectraInTime' wavelengthAlign(ref, toAlign) ## S4 method for signature 'SpectraInTime,list' wavelengthAlign(ref, toAlign)
ref |
|
toAlign |
|
List of aligned SpectraInTime objects, including the reference object.
one or a list of SpectraInTime-class
spectra <- getSpectraInTimeExample() listOfSpectra <- getListOfSpectraExample() # Dummy alignment of spectrum with itself: ex1 <- wavelengthAlign( ref = spectra , toAlign = spectra ) # Alignment of list of spectra with a reference spectrum: ex2 <- wavelengthAlign( ref = spectra , toAlign = listOfSpectra )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.