extract_cost_func_params#
- caf.van.lgv_model.extract_cost_func_params(cost_funct_params, cost_func_name)[source]#
Extracts the cost function parameters from a tuple.
- Parameters:
- Returns:
Unpacked cost function parameters.
- Return type:
- Raises:
ValueError – If the cost function name is not recognised.