remove constant bands

rm_invariant_bands(DataMatrix, Spectral)

Arguments

DataMatrix

numeric. each variable is a column

Spectral

list. summary of spectral information: which spectral bands selected from initial data

Value

updated DataMatrix and Spectral