API reference

Common entry points

Task

API

Build circuits

sycan.Circuit, sycan.parse()

Run analyses

sycan.solve_dc(), sycan.solve_ac(), sycan.solve_impedance(), sycan.solve_noise()

Draw schematics

sycan.autodraw()

Add components directly

sycan.components.basic, sycan.components.active, sycan.components.rf

Full module reference

sycan.circuit

Netlist container.

sycan.mna

MNA infrastructure: component base, stamping context, and solvers.

sycan.check

Schematic / netlist electrical-rule checks.

sycan.headroom

Headroom analysis — symbolic input range that keeps every MOSFET saturated.

sycan.network_params

Network-parameter conversions for two-port (and n-port where it applies) representations: Z, Y, S, ABCD, T.

sycan.polynomials

Continuous-time analog filter prototype polynomials.

sycan.schematic

Render a SPICE netlist as a Circuitikz schematic via lcapy.

sycan.autodraw(circuit, *[, top_rail, ...])

Render circuit to an SVG schematic and return the SVG string.

sycan.autodraw_hacks

Pattern-detect overrides for sycan.autodraw.

sycan.svg_util

SVG glue used by sycan.autodraw.

sycan.plot_util

Plot / readout helpers.

sycan.spice

Minimal SPICE netlist parser (and writer) for DC / AC circuits.

sycan.cas

sycan.cas — pluggable CAS backend.

sycan.components.basic

Basic (linear) lumped elements: R, L, C, sources, controlled sources, GND.

sycan.components.active

Active (nonlinear) devices: diode, MOSFETs, BJT, JFET, vacuum-tube triode.

sycan.components.blocks

Linear system-modelling blocks and hierarchical subcircuits.

sycan.components.rf

RF components: analytical distributed-element models.