desc.geometry.SplineXYZCurve.to_FourierRZ
- SplineXYZCurve.to_FourierRZ(N=10, grid=None, NFP=None, sym=False, name='')Source
Convert Curve to FourierRZCurve representation.
Note that some types of curves 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 FourierRZCurve. If an integer, uses that many equally spaced points.
NFP (int) – Number of field periods, the curve 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 curve
- Returns:
curve (FourierRZCurve) – New representation of the curve parameterized by Fourier series for R,Z.