pyrokinetics.databases.imas.get_linear_weights

pyrokinetics.databases.imas.get_linear_weights#

pyrokinetics.databases.imas.get_linear_weights(gk_output)[source]#

Gets linear weights needed for Wavevector->Eigenmode->linear_weights :type gk_output: GKOutput :param gk_output: Dataset containing fields for a given kx and ky :type gk_output: xr.Dataset

Returns:

linear_weights – Dictionary of linear weights

Return type:

Dict

Parameters:

gk_output (GKOutput)