2.6.3. vacumm.diag.spectrum – Sprectal diagnostics

Functions:
energy_spectrum(var, dx=None, dy=None, ctime=None, dispfig=False, latmean=None, verbose=False)[source]

Compute the energy spectrum of a 2D variable

get_cospec(var1, var2, dx=None, dy=None, verbose=False, **kwargs)[source]

Co-sprectum of two variables

get_kxky(shape, dx, dy, verbose=False)[source]

Generate 2D wavenumbers

get_spec(var1, var2=None, dx=None, dy=None, verbose=False, fft=False, **kwargs)[source]

Get the spectrum of a 2D variable

Return:specvar,nbwave,dk
plot_loglog_kspec(data, abscisse, title=None, subtitle=None, xlabel=None, ylabel=None, slope=-3, savefig=None)[source]
plot_semilogx_kspec(data, abscisse, title=None, subtitle=None, xlabel=None, ylabel=None, savefig=None)[source]
save_spec(filename, var, absc, time)[source]