In mathematics and Fourier analysis, a rectangular mask short-time Fourier transform (rec-STFT) has the simple form of short-time Fourier transform. Other types of the STFT may require more computation time than the rec-STFT.
The rectangular mask function can be defined for some bound (B) over time (t) as
We can change B for different tradeoffs between desired time resolution and frequency resolution.
Rec-STFT
Inverse form