caphe.run

caphe.run(spice_netlist, progress_bar=False)

Executes a circuit simulation based on a parsed SPICE netlist.

This function extracts simulation parameters (such as temperature and wavelength sweep ranges) from the netlist’s analysis section, and computes the S-matrix using the Caphe circuit solver.

Parameters:
spice_netlistSpiceNetlist

The parsed SPICE netlist object containing models, subcircuits, and simulation commands.

progress_barbool, optional

Whether to display a progress bar during simulation. Defaults to False.

Returns:
SMatrix1DSweep

An object containing the simulated S-matrix data, sweep parameter values (wavelengths), and port mapping information.