Application of onboard digital filtering to spectral estimation and data compression