wavespectra.construct.frequency.gaussian#
- wavespectra.construct.frequency.gaussian(freq, hs, fp, gw, **kwargs)[source]#
Gaussian frequency spectrum (Bunney et al., 2014).
- Args:
freq (DataArray): Frequency array (Hz).
hs (DataArray, float): Significant wave height (m).
fp (DataArray, float): Peak wave frequency (Hz).
gw (DataArray, float): Gaussian width parameter \(\sigma\) (m2s).
- Returns:
efth (SpecArray): Gaussian frequency spectrum E(f) (m2s).
- Note:
The spectra are scaled so that \(4\sqrt{m_0} = hs\).
If two or more input args other than freq are DataArrays, they must share the same coordinates.