Data preprocessing to smooth the leaps in a number of wavelengths as a consequence of different sensors usage.

smooth_leaps(signatures, leaps)

Arguments

signatures

A spectral object built using the load_signature_files function.

leaps

Wavelengths where there is a leap in the value measurement as a consequence of a different sensor usage.

Value

The processed (smoothed) signatures.

See also

Examples

data(signatures) filtered_signatures <- smooth_leaps(signatures, leaps=c(1001, 1831))