Skip to content

Simulation API

This page is the guide-side API entrypoint for the stable v1.5.0 surface. Use it to decide which API surface you need, then jump into the dedicated /rfx/api/ pages.

rfx now separates API documentation into two layers:

  1. Curated public API — the supported, claims-bearing surface we expect users and agents to build on.
  2. Generated API — symbol-complete reference generated from the codebase, useful for deep lookup but not the primary public contract.

Use these pages first:

NeedPage
Overall API map/rfx/api/
Simulation construction and run semantics/rfx/api/simulation/
Result, observables, Harminv, S-parameters/rfx/api/results-observables/
Shapes, materials, and dispersive models/rfx/api/geometry-materials/
Sources, lumped ports, waveguide/Floquet notes/rfx/api/sources-ports/
auto_configure() and higher-level setup helpers/rfx/api/automation/
Supported / shadow / experimental boundaries/rfx/api/support-boundaries/

If you already know the symbol or module name and need the raw generated reference, use:

Treat that generated tree as subordinate deep reference. It is useful for lookup, but it should not be read as a blanket support promise for every symbol it exposes.

  • The current claims-bearing reference lane is the uniform Cartesian Yee RF workflow.
  • S-parameter APIs are port-family-specific: lumped/wire ports use run(compute_s_params=True), MSL ports use compute_msl_s_matrix(), and waveguide ports use compute_waveguide_s_matrix().
  • Non-uniform graded-z, distributed, Floquet/Bloch, ADI, and subgridding paths need to be read through the support-boundary lens, not as blanket guarantees.
  • Prefer the newest current recommended workflow pages when choosing a public example or reference path.

While writing the API surface, a few missing or still-too-implicit areas stand out:

  1. Programmatic support introspection is missing. There is no public rfx.supports(...)-style API to query supported / shadow / experimental combinations directly.
  2. Validation artifacts are not discoverable through a stable code-level registry. Public validation evidence currently lives in scripts and docs, not in a structured runtime manifest.
  3. Some advanced lanes still hard-fail rather than providing a richer compatibility-planning surface. That is safer than silent fallback, but it leaves room for better user-facing capability reporting.

Those are not blockers for the curated docs surface, but they are the main follow-on product/API improvements surfaced by this docs pass.