python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
autocorrelation function calculated with numpy is not positive definite?
I am calculating an autocorrelation function of a signal using Numpy's FFT by first calculating the power spectrum. I believe that autocorrelation functions are positive definite. However, when I test...
tomerg
Votes: 0
Answers: 1
Right method for finding 2-D Spatial Spectrum from CSD
I try to implement the spatial spectrum from the above equation (attached)
Where kX, kY are the grid points in k space,
C(w,r) - cross spectral densities between the i'th and j'th sensor(here it is a...
pluto
Votes: 0
Answers: 2
Output of fft.fft() for magnitude and phase (angle) not corresponding the the values set up
I set up a sine wave of a certain amplitude, frequency and phase, and tried recovering the amplitude and phase:
import numpy as np
import matplotlib.pyplot as plt
N = 1000 # Sample points
T = 1...

Antoni Parellada
Votes: 0
Answers: 1
is a numpy FFT on real values actually hermitian?
I am a bit confused on the symmetry of the output of np.fft.fftn(). According to Numpy's FFT page, if the input array is real, then the output is Hermitian. According to that page, this means that &qu...
tomerg
Votes: 0
Answers: 1