vmec_jax.profiles

VMEC profile evaluation.

This module implements a small subset of VMEC2000’s profile logic as found in profile_functions.f, starting with the common power_series parameterization.

We intentionally keep this code: - dependency-light (NumPy for parsing, JAX-compatible math via vmec_jax._compat.jnp) - pure (no I/O, no global state) - easy to extend later (splines, pedestal, etc.)

Functions

eval_profiles(cfg, s_grid)

Evaluate VMEC profiles on a radial grid.

profiles_from_indata(indata)

Extract and normalize profile inputs from an InData.

Classes

ProfileInputs(pmass_type, piota_type, ...)

Profile-related inputs extracted from &INDATA.