Performance#
Field maps exploit cylindrical symmetry: analytical radial fields are solved
once on a radial line, interpolated over the two-dimensional grid, and cached.
Request several components through Field.get_components so they share the
same radial pass and azimuthal factors.
Practical guidance#
Reuse a
Fieldinstance when evaluating several derived quantities.Request only the components required by an analysis.
Use modest grids while exploring, then verify final results at higher resolution.
Bound
max_nuandmax_mduring automatic mode discovery.Prefer
fiber.sweepto hand-written mutation loops; it restores state and returns dense, structured arrays.
See Example galleries for reproducible scaling examples.