wavespectra.core.xrstats.mean_direction_at_peak_wave_period#

wavespectra.core.xrstats.mean_direction_at_peak_wave_period(dset)[source]#

Mean direction at the peak wave period Dpm.

Parameters:

dset (-) – Spectra array or dataset in wavespectra convention.

Returns:

Mean direction at the peak wave period data array.

Return type:

  • dpm (xr.DataArray)

Note from WW3 Manual:
  • Peak wave direction, defined like the mean direction, using the freq/wavenum bin containing of the spectrum F(k) that contains the peak frequency only.