desc.objectives.CoilLength.compute

CoilLength.compute(params, constants=None)Source

Compute coil 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) – Coil length.