desc.coils.MixedCoilSet.to_FourierXYZ
- MixedCoilSet.to_FourierXYZ(N=10, grid=None, s=None, name='')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 CoilSet
- Returns:
coilset (CoilSet) – New representation of the coilset parameterized by Fourier series for X,Y,Z.