desc.coils.SplineXYZCoil.compute

SplineXYZCoil.compute(names, grid=None, params=None, transforms=None, data=None, **kwargs)Source

Compute the quantity given by name on grid.

Parameters:
  • names (str or array-like of str) – Name(s) of the quantity(s) to compute.

  • grid (Grid or int, optional) – Grid of coordinates to evaluate at. Defaults to a Linear grid. If an integer, uses that many equally spaced points.

  • params (dict of ndarray) – Parameters from the equilibrium. Defaults to attributes of self.

  • transforms (dict of Transform) – Transforms for R, Z, lambda, etc. Default is to build from grid

  • data (dict of ndarray) – Data computed so far, generally output from other compute functions

Returns:

data (dict of ndarray) – Computed quantity and intermediate variables.