aspcore.fouriertransform.dft_mat
- aspcore.fouriertransform.dft_mat(dft_len: int)
DFT matrix corresponding to the real DFT.
- Parameters:
dft_len (int) – Length of the DFT.
num_freqs_removed_low (int) – Number of frequencies to remove.
- Returns:
F – DFT matrix
- Return type:
np.ndarray of shape (L, L)
Notes
The matrix represents the forward transform such that F @ a = rfft(a). Note that the matrix is not square, so the inverse transform is not the hermitian transpose of the forward transform.