desc.io.InputReader.parse_vmec_inputs

static InputReader.parse_vmec_inputs(vmec_fname, threshold=0)[source]

Parse a VMEC input file into a dictionary of DESC inputs.

Parameters:
  • vmec_fname (str or PathLike) – Path to VMEC input file.

  • threshold (float) – Threshold value of boundary surface magnitudes to ignore.

Returns:

inputs (dict) – Dictionary of inputs formatted for DESC.