wavespectra.core.npstats.dpm_gufunc#

wavespectra.core.npstats.dpm_gufunc = <ufunc 'dpm_gufunc'>#

dpm_gufunc(x1, x2, x3, /, out=None, *, casting=’same_kind’, order=’K’, dtype=None, subok=True[, signature, extobj, axes, axis])

Mean direction at the peak wave period Dpm.

Args:
  • ipeak (int): Index of the maximum energy density in the frequency spectrum E(f).

  • momsin (1darray): Sin component of the 1st directional moment.

  • momcos (1darray): Cos component of the 1st directional moment.

Returns:
  • dpm (float): Mean direction at the frequency peak of the spectrum.