API reference¶
Generated from the docstrings. The most-used names are re-exported from the top-level package
(import lightsmith as ls):
- Top level:
solve,estimate,compare,choose_method,doctor - Problems: every problem kind, plus
parse_problemandproblem_json_schema - Scattering spec:
Simulation, shapes, illumination, output requests - Materials: material models, the bundled library, refractiveindex.info, Drude–Lorentz fits
- Results: result models for every problem kind
- Backends: the
Backendinterface and registry - Circuits: compact models, netlists, Touchstone files
- Inverse design: optimisation spec, driver, export
- Layout: GDS import and export, the gdsfactory bridge