Skip to content

Public Examples

Use these examples to learn the supported workflows. They do not cover every importable module or experimental script in the repository.

Learning rfx — start here, in order:

ScriptYou learn
examples/quickstart/hello_world.pyinstall check, the minimal simulate-and-probe loop
examples/tutorials/ (ordered in examples/README.md)boundaries, materials, run control, ports & S-parameters, resonance extraction, far-field patterns, RCS
examples/inverse_design/differentiable_s11_design.pythe differentiable design loop
examples/inverse_design/multilayer_ar_coating.pyconservative inverse-design demo

RF Workflows explains which example matches a design task. Cross-Solver Validation lists runnable checks against analytic calculations and other solvers.

Start with a uniform Yee-grid example when it fits the problem. Before using a result, inspect preflight warnings and confirm that the validation case covers the same mesh, source, port, material model, boundary, and output quantity.