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.

Args:
  • dset (xr.DataArray, xr.Dataset): Spectra array or dataset in wavespectra convention.

Returns:
  • dpm (xr.DataArray): Mean direction at the peak wave period data array.

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.