fullseye

ocean_spectrum — OPTICS watermedia op

使い方

One-dimensional wave spectrum S(omega) of a wind sea, with its significant height and peak period -> dict.

pierson_moskowitz (Pierson & Moskowitz 1964, a fully developed sea): S = alpha g^2 omega^-5 exp(-1.25 (omega_p / omega)^4) with alpha = 0.0081 and omega_p = (4 beta / 5)^(1/4) g / U = 0.877 g / U (U is the wind speed at 10 m). Its zeroth moment is m0 = alpha U^4 / (4 beta g^2) so Hs = 4 sqrt(m0) = 0.2092 U^2 / g (the rule of thumb is 0.21 U^2 / g); hs_closed_form_m is that value (None where there is no closed form) and hs_m the numerical integral of the returned spectrum. jonswap (Hasselmann et al. 1973) multiplies the same shape by the peak enhancement gamma ** exp(-(omega - omega_p)^2 / (2 sigma^2 omega_p^2)) (gamma = 3.3, sigma = 0.07 below the peak and 0.09 above). With fetch_m the fetch-limited alpha = 0.076 (U^2 / (F g))^0.22 and omega_p = 22 (g^2 / (U F))^(1/3) are used, without it the fully developed Pierson-Moskowitz alpha and omega_p: JONSWAP with gamma = 1 is then exactly Pierson-Moskowitz. omega is an optional increasing grid (rad/s); the default is 6000 points on a logarithmic grid from 0.15 to 25 times omega_p. The table has omega, S, hs_m, tp_s (2 pi / omega_p), omega_peak (the parameter), omega_peak_numeric (the maximum of S) and m0. A negative or zero wind or fetch is refused; fetch_m with the fully developed kind is refused too.

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(watermedia)

ocean_height_field · fresnel_water_air · snell_window · refracted_view · water_attenuation · underwater_image · phase_function_hg · scattering_phase_petzold


Provenance: watermedia.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.