wavespectra.core.npstats.mom1#

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

First directional moment.

Parameters:
  • spectrum (-) – wave spectrum array.

  • dir (-) – wave direction array.

  • theta (-) – angle offset.

Returns:

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

Return type:

  • msin (float)