desc.magnetic_fields.FourierCurrentPotentialField.from_input_file
- classmethod FourierCurrentPotentialField.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.