The Fourier filter applies an FFT-based filtering approach that retains only selected frequency bands—suppressing noise or unwanted signals. It constructs a frequency mask using user-defined intervals, applies this mask to both positive and negative frequencies, and then reconstructs a clean, real-valued signal using an inverse FFT.
Gomez-Sanchez, A. (2024). fourierFilter function. Lovelace's Square / GitHub repository. https://github.com/LovelaceSquare/lovelacesquare/tree/main/Codes/Fourier%20filter