An adaptive NR filter for spectrum analysis