wavespectra.SpecArray.momd#

SpecArray.momd(mom=0, theta=90.0)[source]#

Directional moment.

Args:
  • mom (int): Moment to calculate.

  • theta (float): angle offset.

Returns:
  • msin (DataArray): Sin component of the mth directional moment for each frequency.

  • mcos (DataArray): Cosine component of the mth directional moment for each frequency.