desc.coils.FourierRZCoil.to_FourierRZ

FourierRZCoil.to_FourierRZ(N=10, grid=None, NFP=None, sym=False, name='', **kwargs)Source

Convert Coil to FourierRZCoil representation.

Note that some types of coils may not be representable in this basis.

Parameters:
  • N (int) – Fourier resolution of the new R,Z representation.

  • grid (Grid, int or None) – Grid used to evaluate curve coordinates on to fit with FourierRZCoil. If an integer, uses that many equally spaced points.

  • NFP (int) – Number of field periods, the coil will have a discrete toroidal symmetry according to NFP.

  • sym (bool, optional) – Whether the curve is stellarator-symmetric or not. Default is False.

  • name (str) – Name for this coil.

Returns:

curve (FourierRZCoil) – New representation of the coil parameterized by Fourier series for R,Z.