data_operations.chunkedfft#
Back to Module page
Summary#
Returns FFTs of chunks of data for overlap-save. Coordinates assumed dimensionless, as in DFT
Signature#
def chunkedfft(data, fftsize, wl, padmode = 'left', wraparound = True)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Array with the input data (time domain) |
||
|
Size of FFT for each sub-chunk |
||
|
Length of window (time domain) |
||
|
‘left’ |
How to pad the data (useful for various choices of window weights and time conventions) |
|
|
True |
Flag indicating whether to copy data into the padded part to mimic a full FFT |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
n_chunk x nrfft(fftsize) array of rFFTs of chunks |
Docstring#
Returns FFTs of chunks of data for overlap-save. Coordinates assumed
dimensionless, as in DFT
:param data: Array with the input data (time domain)
:param fftsize: Size of FFT for each sub-chunk
:param wl: Length of window (time domain)
:param padmode:
How to pad the data (useful for various choices of window weights and
time conventions)
:param wraparound:
Flag indicating whether to copy data into the padded part to mimic a
full FFT
:return: n_chunk x nrfft(fftsize) array of rFFTs of chunks