desc.equilibrium.Equilibrium.from_input_file
- classmethod Equilibrium.from_input_file(path, **kwargs)Source
Create an Equilibrium from information in a DESC or VMEC input file.
- Parameters:
path (Path-like or str) – Path to DESC or VMEC input file.
**kwargs (dict, optional) – keyword arguments to pass to the constructor of the Equilibrium being created.
- Returns:
Equilibrium (Equilibrium) – Equilibrium generated from the given input file.