wavespectra.SpecArray.celerity#

SpecArray.celerity(depth=None)[source]#

Wave celerity C from frequency coords.

Args:
  • depth (float): Water depth, use deep water approximation by default.

Returns;
  • C: ndarray of same shape as freq with wave celerity for each frequency.