wavespectra.construct.frequency.tma#
- wavespectra.construct.frequency.tma(freq, fp, dep, alpha=0.0081, gamma=3.3, sigma_a=0.07, sigma_b=0.09, hs=None, **kwargs)[source]#
TMA frequency spectrum for seas in water of finite depth (Bouws et al., 1985).
- Parameters:
freq (-) – Frequency array (Hz).
fp (-) – Peak wave frequency (Hz).
dep (-) – Water depth (m).
alpha (-) – Phillip’s fetch-dependent scaling coefficient.
gamma (-) – Peak enhancement parameter.
sigma_a (-) – width of the peak enhancement parameter for f <= fp.
sigma_b (-) – width of the peak enhancement parameter for f > fp.
hs (-) – Significant wave height (m), if provided the Jonswap spectra are scaled so that \(4\sqrt{m_0} = hs\).
- Returns:
TMA frequency spectrum E(f) (m2s).
- Return type:
efth (SpecArray)
Note
If hs is provided than the scaling parameter alpha becomes irrelevant.
If two or more input args other than freq are DataArrays, they must share the same coordinates.