Space-Time Spectral Analysis¶
Open from ‘3. Analysis Space-Time Spectra‘.
The spectral window has four tabs. Spatial (Welch) is always available. Temporal and Spatiotemporal require time-resolved data. Spatial (FFT) is always available and provides a complementary 2D ROI-based spatial spectrum.
Spatial Spectra – Welch (Tab 1)¶
The one-dimensional spatial energy spectrum characterizes the distribution of turbulent kinetic energy across spatial scales. For homogeneous isotropic turbulence, Kolmogorov’s similarity theory predicts an inertial subrange where (Kolmogorov, 1941). The spatial spectrum is computed along a user-defined line using Welch’s method: the line is divided into overlapping segments, each Hann-windowed and Fourier-transformed, and the periodograms are averaged to reduce variance. The wavenumber is in rad/m.
Results are plotted on a log-log scale. The Kolmogorov reference slope can be toggled on/off. You can also compensate the spectrum by multiplying by to flatten the inertial range.

Figure 1:Spatial spectra (Welch tab) showing for the U and V components along a horizontal line through the shear layer. The dashed line shows the Kolmogorov reference slope. The inertial subrange is visible between approximately and rad/m.
Reference: Kolmogorov, A.N. (1941). The local structure of turbulence in incompressible viscous fluid for very large Reynolds numbers. Proceedings of the USSR Academy of Sciences, 30, 301–305.
Temporal Spectra (Tab 2, TR Only)¶
The power spectral density of the velocity fluctuations at a fixed point reveals the temporal frequency content of the turbulence. Dominant peaks correspond to periodic or quasi-periodic phenomena such as vortex shedding, shear layer flapping, or acoustic resonances. The temporal spectrum is computed using Welch’s method with a Hann window.
Space-Time Spectra (Tab 3, TR Only)¶
The two-dimensional space-time spectrum jointly characterizes the spatial and temporal structure of convecting turbulent structures. It is computed by applying a 2D Fourier transform in both space (along a streamwise line) and time. Diagonal ridges in the resulting map correspond to spatially coherent structures convecting at a fixed speed. The slope of a ridge gives the convection velocity , providing a direct test of Taylor’s frozen turbulence hypothesis (del Álamo & Jiménez, 2009).
Reference: del Álamo, J.C. & Jiménez, J. (2009). Estimation of turbulent convection velocities and corrections to Taylor’s approximation. Journal of Fluid Mechanics, 640, 5–26.
Spatial Spectra – FFT (Tab 4)¶
Computes the 2D spatial energy spectrum over a rectangular ROI using a direct FFT (via pyFFTW), averaged over all snapshots. The result is shown as 1D marginal spectra and alongside the 2D spectral map.
Multi-case comparison¶
Spatial Welch and Temporal spectra support CSV import and overlay (Chapter ??).