desc.geometry.FourierRZToroidalSurface.from_input_file

classmethod FourierRZToroidalSurface.from_input_file(path)[source]

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

Parameters:

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

Returns:

surface (FourierRZToroidalSurface) – Surface with given Fourier coefficients.