wecopttool.waves.jonswap_spectrum
- jonswap_spectrum(freq, fp, hs, gamma=3.3)[source]
Calculate the Joint North Sea Wave Project (JONSWAP) omni-directional wave spectrum for the specified frequencies and parameters.
See, e.g., DNV-RP-C205
For
gamma = 1
, the JONSWAP spectrum reduces to a Pierson-Moskowitz spectrum.Return is in units of \(m^2/Hz\).