[][src]Function spice21::analysis::ac

pub fn ac(ckt: CktParse, opts: AcOptions) -> SpResult<Vec<Vec<Complex<f64>>>>

AC Analysis FIXME: result saving is in flux, and essentially on three tracks:

  • The in-memory format used by unit-tests returns vectors of complex numbers
  • The first on-disk format, streaming JSON, falls down for nested data. It has complex numbers flattened, along with frequency.
  • The AcResult struct holds all relevant data (in memory), and can serialize it to JSON (or any other serde format).