Spectra
Methods
ClimateMachine.Spectra.power_spectrum — Functionpower_spectrum(u, v, w, L, dim, nor)Calculates the Powerspectrum from the 3D velocity fields u, v, w. Inputs need to be equi-spaced and the domain is assumed to be the same size and have the same number of points in all directions.
Arguments
- L: size domain
- dim: number of points
- nor: normalization factor