--> 151 freq = np.array([fftfreq(n, d=d, b=b) for n, d in zip(N, dx)])
153 # Adjust phases of the result to align with the left edge properly.
154 ft = _adjust_phase(ft, left_edge, freq, axes, b)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
Here is the example code
And I get the error message
It seems
np.array()
in Line 151 causes the error.