Data preprocessing to smooth the leaps in a number of wavelengths as a consequence of different sensors usage.
smooth_leaps(signatures, leaps)
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. |
The processed (smoothed) signatures.
data(signatures) filtered_signatures <- smooth_leaps(signatures, leaps=c(1001, 1831))