:py:mod:`src.costs.EM_cost` =========================== .. py:module:: src.costs.EM_cost .. autoapi-nested-parse:: Various implementation of the main cost Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: src.costs.EM_cost.EM_cost src.costs.EM_cost.EM_cost_without_dask src.costs.EM_cost.EM_cost_dask src.costs.EM_cost.EM_cost_dask_with_multipliers src.costs.EM_cost.EM_cost_dask_old .. py:function:: EM_cost(config, S=None, Sp=None) dispatch depending on the dask option in config .. py:function:: EM_cost_without_dask(config, S, Sp) .. py:function:: EM_cost_dask(config, S, Sp) new version without Lagrange multipliers, to use by default :param config: :type config: :class:`configparser.ConfigParser` :param S: :type S: `Surface` :param Sp: :type Sp: `Surface` :return: various component of the cost :rtype: dictionary .. py:function:: EM_cost_dask_with_multipliers(config, S, Sp) .. py:function:: EM_cost_dask_old(config, S, Sp) old version