cora.util.fftutil
Functions
|
|
|
Generate an array of FFT frequencies for an n-dimensional real transform. |
|
- cora.util.fftutil.rfftfreqn(n, d=None)
Generate an array of FFT frequencies for an n-dimensional real transform.
- Parameters:
n (tuple) – A tuple containing the dimensions of the window in each dimension.
d (float or tuple, optional) – The sample spacing along each dimension
- Returns:
frequencies – An array of shape (n[0], n[1], …, n[-1]/2+1, len(n)), containing the frequency vector of each sample.
- Return type:
ndarray