Tutorials#
These notebooks walk through kspace usage end-to-end.
Power Spectra and Gaussian Random Fields — build power spectra with different dissipation scales, generate GRF realizations, and check the recovered power spectrum against the input model.
Vector Field Decomposition — generate vector field realizations and project out the divergence-free (solenoidal) component.
Another Power Spectrum Example — reduce a full 3D gridded power spectrum to a 1D radially-binned spectrum and compare to the analytic integral.
Computing a Power Spectrum from a Hydrodynamic Simulation — load a
ytsample dataset, extract a uniform-grid field, and compute its power spectrum withFourierAnalysis.