PlasmaCalcs.tools.fft_tools.array_fft.fftfreq_shifted
- PlasmaCalcs.tools.fft_tools.array_fft.fftfreq_shifted(N, d, *, rad=False)
- returns the shifted frequencies corresponding to the fft of an array of length N,with spacing d between elements.if rad: convert frequencies to “radians” by multiplying them by 2 * pi.“shifted” means that the 0-frequency is in the center of the result.