desc.objectives.CoilCurrentLength.compute

CoilCurrentLength.compute(params, constants=None)Source

Compute coil current length (current * length).

Parameters:
  • params (dict) – Dictionary of the coil’s degrees of freedom.

  • constants (dict) – Dictionary of constant data, eg transforms, profiles etc. Defaults to self._constants.

Returns:

f (array of floats)