An Adaptive Real-Time Spectrum Analysis Architecture