Function es::get_spectra¶
- Defined in File adem.h
Function Documentation¶
-
void
es::get_spectra(AdemData &data, const EddySignature &signature_a, const EddySignature &signature_b)¶ Get the premultiplied power spectra.
Computes tensors \( \Psi_{a} \) (
psi_a) and \( \Psi_{b} \) (psi_b) from the scale functions and the eddy signatures, and adds them to the AdemData object.The output spectral tensors have dimension [nz x nk x 6], where
nzshould agree with the number of elements in thet2wscale functions, andnkrepresents the number of wavenumbers for which the spectrum is computed.- Parameters
data: AdemData object, which must have propertiest2wa, `t2wb’ andu_taudefined already.signature_a: Signature object for Type A eddiessignature_b: Signature object for Type B eddies