wecopttool.change_bem_convention

change_bem_convention(bem_data)[source]

Change the convention from \(-iωt\) to \(+iωt\).

Change the linear hydrodynamic coefficients from the Capytaine convention (\(x(t)=Xe^{-iωt}\)), where \(X\) is the frequency-domain response, to the more standard convention used in WecOptTool (\(x(t)=Xe^{+iωt}\)).

NOTE: This might change in Capytaine in the future.

Parameters:

bem_data (Dataset) – Linear hydrodynamic coefficients for the WEC.

Return type:

Dataset