vmec_jax.robust_coilsΒΆ
Pure-JAX utilities for deterministic robust-coil perturbation studies.
These helpers operate on direct-coil CoilFieldParams pytrees without
depending on ESSOS or the free-boundary solver. Full VMEC free-boundary solves
are not yet guaranteed to be batch-transformable, so callers can use these
samples with jax.vmap for transformable objectives or a Python loop around
non-transformable solver calls.
Functions
|
Aggregate scenario losses with smooth robust-risk choices. |
|
Rigidly translate Fourier centerline coefficients by |
|
Return a perturbation sample that leaves |
|
Add a deterministic Fourier-coefficient perturbation to coil centerlines. |
|
Return perturbed direct-coil parameters without mutating |
|
Apply deterministic multiplicative current perturbations. |
|
Rotate all Cartesian Fourier coefficient vectors around the z axis. |
|
Draw one deterministic Gaussian perturbation sample from a PRNG key. |
|
Draw a batch of deterministic Gaussian coil perturbation samples. |