desc.coils.MixedCoilSet.to_FourierXYZ
- MixedCoilSet.to_FourierXYZ(N=10, grid=None, s=None, name='', check_intersection=True)Source
Convert all coils to FourierXYZCoil representation.
- Parameters:
N (int) – Fourier resolution of the new X,Y,Z representation.
grid (Grid, int or None) – Grid used to evaluate curve coordinates on to fit with FourierXYZCoil. If an integer, uses that many equally spaced points.
s (ndarray) – Arbitrary curve parameter to use for the fitting. If None, defaults to normalized arclength.
name (str) – Name for the new MixedCoilSet.
check_intersection (bool) – Whether or not to check the coils in the new coilset for intersections.
- Returns:
coilset (MixedCoilSet) – New representation of the coil set parameterized by a Fourier series for X,Y,Z.