code: def stft(func=None, **kwparams):
    
    from numpy.fft import fft, ifft
    ifft_r = lambda *args: ifft(*args).real
    return stft.base(transform=fft, inverse_transform=ifft_r)(func, **kwparams)
docs: Short Time Fourier Transform for real data keeping the full FFT block.
  
    Same to the default STFT strategy, but with new defaults. This is the same
    to:
  
    .. code-block:: python
  
      stft.base(transform=numpy.fft.fft,
                inverse_transform=lambda *args: numpy.fft.ifft(*args).real)
  
    See ``stft.base`` docs for more.