wavealign: Methods to resample the wavenumbers

Description Usage Arguments Details Value Examples

Description

It clips and resamples the wavenumbers of data.x and data.y to a common extent. Typically, it uses the wavenumbers of data.x to resample data.y and then the function clips the largest base on the narrowest.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
wavealign(data.x, data.y)

## S4 method for signature 'numeric,SpectralReference'
wavealign(data.x, data.y)

## S4 method for signature 'Tile,SpectralReference'
wavealign(data.x, data.y)

## S4 method for signature 'SpectralReference,Tile'
wavealign(data.x, data.y)

MosaicGetRef.wavealign(data.x, data.y)

TileRead.wavealign(data.x, data.y)

Arguments

data.x

An object of class SpectralReference or Tile.

data.y

An object of class SpectralReference or Tile. It should be the other one.

Details

There are two methods defined:

Value

Examples

1
2
3
x <- tile_read(base::system.file("extdata/tile.bsp", package = "uFTIR"))
x <- tile_base_corr(x)
x <- wavealign(x, primpke)

uFTIR documentation built on Oct. 25, 2021, 9:08 a.m.