wavespectra.core.npstats.dp_gufunc#
- wavespectra.core.npstats.dp_gufunc = <ufunc 'dp_gufunc'>#
dp_gufunc(x1, x2, /, out=None, *, casting=’same_kind’, order=’K’, dtype=None, subok=True[, signature, extobj, axes, axis])
Peak wave direction Dp.
- Args:
ipeak (int): Index of the maximum energy density in the frequency spectrum E(f).
dir (1darray): Wave direction array.
- Returns:
dp (float): Direction of the maximum energy density in the frequency-integrated spectrum.