In
mathematics and
Fourier analysis, a rectangular mask short-time Fourier transform (rec-STFT) has the simple form of
short-time Fourier transform
The short-time Fourier transform (STFT), is a Fourier-related transform used to determine the sinusoidal frequency and phase content of local sections of a signal as it changes over time. In practice, the procedure for computing STFTs is to divi ...
. 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
A trade-off (or tradeoff) is a situational decision that involves diminishing or losing one quality, quantity, or property of a set or design in return for gains in other aspects. In simple terms, a tradeoff is where one thing increases, and anot ...
between desired time resolution and frequency resolution.
Rec-STFT
:
Inverse form
: