netsse.analys.dsa.polynom_DSA#
- netsse.analys.dsa.polynom_DSA(tau, om0m, weighting='uniform', nu23=1 + 2**1 / 2 / 2, full_output=False)#
Computes the polynomial approximation of the Doppler Shift.
Note
This implementation uses the derivations presented in Mounet et al. (2025a,b).
- Parameters:
tau (array_like of shape (Ntau,)) – Array of Doppler shift intensities.
om0m (float) – Cut-off frequency of the DSA.
weighting ({'uniform','tripvalpb','lowfreq'}, optional) –
Weighting method to use:
- ’uniform’ :
Equal weight is given to all frequencies in the range
[0,om0m]in the cost function. This is the default option. It is introduced in Mounet et al. (2025a).
- ’tripvalpb’ :
Same as
'uniform'weighting, but theom0mis set to a value of \((1+\sqrt{2})/(2\tau)\) when \(\nu>\nu_{23}\). This ensures the DSA features an optimal accuracy in the range of frequencies where the triple-value problem occurs. This idea is introduced in Mounet et al. (2025b).
- ’lowfreq’ :
A decreasing (affine) weighting function is applied in the range
[0,om0m], such that low frequencies are given more importance in the cost function. This option is not recommended for general use.
nu23 (float, optional) – Threshold value of
nufor switching between the concave and convex forms of the approximation. Default is \((1+\sqrt{2})/2\).full_output (bool, optional) – If True, the function returns
nu``and ``kappaas additional outputs. Default is False.
- Returns:
rho_p (array_like of shape (Ntau,)) – Computed
rho_pvalues.nu_p (array_like of shape (Ntau,)) – Computed
nu_pvalues.nu (array_like of shape (Ntau,)) – Computed
nuvalues.kappa (array_like of shape (Ntau,)) – Computed
kappavalues.
See also
trans_2Dmat_DSAComputes the matrices for applying the Doppler shift approximation (DSA).
References
Mounet, R.E.G., Nielsen, U.D., and Takami, T. (2025a). “Doppler Shift Approximation in Seakeeping Problems: A New Formulation for Ships Advancing at Any Forward Speed.” In: Proceedings of the 16th International Symposium on Practical Design of Ships and Other Floating Structures (PRADS 2025), Ann Arbor, MI, USA. (Accepted).
Mounet, R.E.G., Nielsen, U.D., and Takami, T. (2025b). “Approximating the Doppler Shift in Sea-Wave Spectra Observed from an Advancing Floating Platform.” Applied Mathematical Modelling. (Submitted).
Example
>>> rho_p, nu_p = polynom_DSA(tau, om0m, weighting='tripvalpb', full_output=False)