pierson_moskowitz_spectrum()
Calculate the Pierson-Moskowitz omni-directional wave spectrum for the specified frequencies and parameters.
This is included as one example of a spectrum function.
Return is in units of \(m^2/Hz\).
freq (float | ArrayLike) – Wave frequencies.
fp (float) – Peak frequency of the sea-state in \(Hz\).
hs (float) – Significant wave height of the sea-state in \(m\).
float | ndarray