desc.coils.FourierRZCoil.from_input_file

classmethod FourierRZCoil.from_input_file(path)Source

Create a axis curve from Fourier coefficients in a DESC or VMEC input file.

Parameters:

path (Path-like or str) – Path to DESC or VMEC input file.

Returns:

curve (FourierRZToroidalCurve) – Axis with given Fourier coefficients.