wavespectra.core.npstats.dpm#
- wavespectra.core.npstats.dpm(ipeak, momsin, momcos)[source]#
Mean direction at the peak wave period Dpm.
- Parameters:
ipeak (-) – Index of the maximum energy density in the frequency spectrum E(f).
momsin (-) – Sin component of the 1st directional moment.
momcos (-) – Cos component of the 1st directional moment.
- Returns:
Mean direction at the frequency peak of the spectrum.
- Return type:
dpm (float)