netsse.tools.envir_cond.wavespec1dto2d#
- netsse.tools.envir_cond.wavespec1dto2d(S1d, theta, theta0, s)#
Transforms a 1-D wave spectrum into a 2-D wave spectrum.
A cosine-2s function is used for the directional spreading distribution.
- Parameters:
- Returns:
S2d – 2-D wave spectrum, as a function of both the frequency and the wave heading [deg].
- Return type:
array_like of shape (Nfreq,Ntheta)
References
Naess, Arvid, and Torgeir Moan. 2010. Stochastic Dynamics of Marine Structures. Stochastic Dynamics of Marine Structures. Vol. 9780521881555. Cambridge University Press. https://doi.org/10.1017/CBO9781139021364.
Example
>>> S2d = wavespec1dto2d(S1d,theta,theta0,s)