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.
How to use the API docs
Section titled “How to use the API docs”rfx now separates API documentation into two layers:
- Curated public API — the supported, claims-bearing surface we expect users and agents to build on.
- Generated API — symbol-complete reference generated from the codebase, useful for deep lookup but not the primary public contract.
Start with the curated API
Section titled “Start with the curated API”Use these pages first:
| Need | Page |
|---|---|
| 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/ |
Use the generated API for symbol lookup
Section titled “Use the generated API for symbol lookup”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.
Current API contract rules
Section titled “Current API contract rules”- 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 usecompute_msl_s_matrix(), and waveguide ports usecompute_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.
What still needs functional/API work
Section titled “What still needs functional/API work”While writing the API surface, a few missing or still-too-implicit areas stand out:
- Programmatic support introspection is missing. There is no public
rfx.supports(...)-style API to query supported / shadow / experimental combinations directly. - 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.
- 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.