BasePMSpectrum#

class waveresponse.BasePMSpectrum(freq, freq_hz=False)[source]#

Base class for handling 1-D Pierson-Moskowtiz (PM) type spectra of the form:

S(w) = A / w ** 5 exp(-B / w ** 4)

Parameters:
  • freq (array-like) – Sequence of frequencies to use when generating the spectrum.

  • freq_hz (bool) – Whether the provided frequencies are in rad/s (default) or Hz.

See also

ModifiedPiersonMoskowitz

Modified Pierson-Moskowitz wave spectrum.

JONSWAP

JONSWAP wave spectrum.

OchiHubble

Ochi-Hubble (three-parameter) wave spectrum.

Notes

Pierson-Moskowitz type of spectra are implemented according to Equation (8.14) in reference [1].

References