OchiHubble#
- class waveresponse.OchiHubble(freq, freq_hz=False)[source]#
Ochi-Hubble wave spectrum, given as:
S(w) = C / w ** (4 * q + 1) * exp(-d / w ** 4)where,
C = (1.0 / 4.0) * (c ** q * Hs ** 2) / gamma(q)c = (4.0 * q + 1.0) * w_p ** 4 / 4.0d = (4 * q + 1) * w_p ** 4 / 4.0Hsis the significant wave height.w_p = 2pi / Tpis the angular spectral peak frequency.
and
qis a user-defined shape parameter. Note thatgammais the “Gamma function”.- Parameters:
freq (array-like) – Sequence of frequencies to use when generating the spectrum.
freq_hz (bool) – Whether the provided frequencies are in rad/s (default) or Hz.
Notes
The special case
q=1corresponds to the modified Pierson-Moskowitz spectrum.The Ochi-Hubble spectrum is implemented as described in reference [1].
References
See also
ModifiedPiersonMoskowitzModified Pierson-Moskowitz wave spectrum.
JONSWAPJONSWAP wave spectrum.