src.costs.EM_cost
¶
Various implementation of the main cost
Module Contents¶
Functions¶
|
dispatch depending on the dask option in config |
|
|
|
new version without Lagrange multipliers, to use by default |
|
|
|
old version |
- src.costs.EM_cost.EM_cost(config, S=None, Sp=None)¶
dispatch depending on the dask option in config
- src.costs.EM_cost.EM_cost_without_dask(config, S, Sp)¶
- src.costs.EM_cost.EM_cost_dask(config, S, Sp)¶
new version without Lagrange multipliers, to use by default
- Parameters
config (
configparser.ConfigParser
) –S (Surface) –
Sp (Surface) –
- Returns
various component of the cost
- Return type
dictionary
- src.costs.EM_cost.EM_cost_dask_with_multipliers(config, S, Sp)¶
- src.costs.EM_cost.EM_cost_dask_old(config, S, Sp)¶
old version