pulsarbat.contrib.stft#

pulsarbat.contrib.stft(z, /, window='boxcar', nperseg=256, noverlap=0, nfft=None)[source]#

Performs a short-time Fourier transform on a baseband signal.

Behaves the same as scipy.signal.stft. Currently, only supports window=’boxcar’, noverlap=0 and nfft = None. This results in the critically-sampled perfect reconstruction STFT - using a rectangular window function with no overlap.

For now, users should only use the z and nperseg arguments.

When fully implemented, should behave exactly as scipy.signal.stft with support for different window and overlap configurations, and lazy execution via dask.