wavespectra.core.npstats.dp#
- wavespectra.core.npstats.dp(ipeak, dir)[source]#
Peak wave direction Dp.
- Parameters:
ipeak (-) – Index of the maximum energy density in the direction spectrum E(d).
dir (-) – Wave direction array.
- Returns:
- Direction of the maximum energy density in the
frequency-integrated spectrum.
- Return type:
dp (float)