Filter data prior to continuum removal: - values are expected to be real reflectance values between 0 and 10000 - negative values may occur, so a +100 value is applied to avoid negative - possibly remaining negative values are set to 0 - constant spectra are eliminated

filter_prior_CR(Minit, Spectral_Bands)

Arguments

Minit

initial data matrix, n rows = n samples, p cols = p spectral bands

Spectral_Bands

numeric. central wavelength for the spectral bands

Value

list. updated Minit