general_spectrum()
Create a spectrum function.
The general omni-directional spectrum formulation is \(S(f) = A f^(-5) e^(-B f^(-4))\).
Return is in units of \(m^2/Hz\).
a_param (float | ArrayLike) – Parameter \(A\) in the general spectrum equation.
b_param (float | ArrayLike) – Parameter \(B\) in the general spectrum equation.
freq (float | ArrayLike) – Wave frequencies in Hz.
float | ArrayLike