Repository navigation
v0.2.0
Minor Changes
-
190865b: Add
runSmallSignalAcSweep/runSmallSignalAcSweepAsync— a worker-hostable
driver for the linearized small-signal AC analysis.runSmallSignalAcis the exact, ngspice-cross-validated transfer function, but
its signature suits an in-process caller: it takes a liveSimEngine, runs the
whole frequency loop atomically, and offers no progress callback or
cancellation. This driver adds those three things for a UI worker — a
structured-cloneable circuit in, oneonPointper frequency, and cooperative
shouldCancel— by composingrunSmallSignalAcunchanged, one chunk of
frequencies at a time with a macrotask yield between chunks. The chunking
re-solves the (deterministic) operating point per chunk and is proven
bit-identical to a single call. Exported frombrownout/analysis.