A call to the function wavealign (specifically a call to TileRead.wavealign) returns an object of class SpectralPack. This class reunites the uFTIR Microscope readings loaded to R by a call to tile_read with a tarjet spectral library of class SpectralReference. Since this object is an output of a call to wavealign both the Tile object and SpectralReference have congruent wavenumbers. See wavealign how the resampling is done when calling different methods. A SpectralPack object is used as imput when calling tile_sam to run the Spectral Angle Mapping algorithm.
Arguments
Value
An S4 object of class "SpectralPack" ready for spectral angle mapping.