An interactive code to apply a narrow-band Fourier filter to astronomical spectra