wavespectra.construct.frequency.jonswap#

wavespectra.construct.frequency.jonswap(freq, fp, alpha=0.0081, gamma=3.3, sigma_a=0.07, sigma_b=0.09, hs=None, **kwargs)[source]#

Jonswap frequency spectrum for developing seas (Hasselmann et al., 1973).

Parameters:
  • freq (-) – Frequency array (Hz).

  • fp (-) – Peak wave frequency (Hz).

  • 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:

Jonswap 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.