desc.objectives.ExternalObjective.compute

ExternalObjective.compute(params, constants=None)Source

Compute the quantity.

Parameters:
  • params (list of dict) – List of dictionaries of degrees of freedom, eg CoilSet.params_dict

  • constants (dict) – Unused by this Objective.

Returns:

f (ndarray) – Computed quantity.