wavespectra.core.npstats.mom1#

wavespectra.core.npstats.mom1(spectrum, dir, theta=90.0)[source]#

First directional moment.

Args:
  • spectrum (2darray): wave spectrum array.

  • dir (1darray): wave direction array.

  • theta (float): angle offset.

Returns:
  • msin (float): Sin component of the 1st directional moment.

  • mcos (float): Cosine component of the 1st directional moment.