diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -53,10 +53,14 @@ raw files. ## Example -`examples/` is a small runnable demo: +`examples/` is a small runnable demo — a 5 V step into an RC low-pass: -- `rc_lp.cir` — a plain ngspice netlist: 5 V step into 1 kΩ + 100 nF -- `rc_lp.py` — runs it with kisim and plots V(in)/V(out) +- `rc_lp.cir` — a plain ngspice netlist (1 kΩ, 100 nF) +- `rc_lp.py` — runs it; then sweeps R1/C1 tolerance corners of the step + response (`corners` + `run_cases`), reading τ and the pole (f−3dB) off each + transient; then cross-checks the transient results against the control + model H(s) = 1/(1 + sRC) with `scipy.signal` — analytic step overlay, poles + and a Bode plot ```sh micromamba run -n kicad_work python examples/rc_lp.py |
