4#include <marenv/wave/WaveField.h>
16namespace visual::optics
20constexpr double kGravity = 9.81;
40SlopeCovariance RotateSlopeCovariance(
double along,
double across,
double angle);
66double WindSpeedFromSignificantHeight(
double significantHeight);
74double GaussianTailThreshold(
double fraction);
84SlopeCovariance CoxMunkSlopeCovariance(
double windSpeed,
double windDirection);
Details of a wave component.
Definition WaveField.h:30
Statistics of a set of realised wave components.
Definition OceanOptics.h:44
double meanDirection
Energy-weighted circular mean of the directions [rad]; 0 without energy.
Definition OceanOptics.h:47
double maxWaveNumber
Largest wave number [rad/m].
Definition OceanOptics.h:48
double significantHeight
Hs = 4 sqrt(sum a^2 / 2) [m].
Definition OceanOptics.h:46
std::size_t count
Number of components.
Definition OceanOptics.h:45
SlopeCovariance resolvedSlope
Slope covariance of the components: sum a^2 k k^T / 2.
Definition OceanOptics.h:49
Covariance of the surface slopes (dz/dx, dz/dy) in the horizontal NED frame [-].
Definition OceanOptics.h:24
double yy
Variance of the slope along y (east).
Definition OceanOptics.h:26
double xx
Variance of the slope along x (north).
Definition OceanOptics.h:25
double MeanSquareSlope() const
Definition OceanOptics.h:30
double xy
Covariance.
Definition OceanOptics.h:27