Skip to contents

Running circuits

spice_run()
Run a SPICE3 deck
spice_pss()
Periodic steady state of a driven circuit or an oscillator
spice_sweep()
Run a deck over a set of parameter values (sweeps and Monte Carlo)

Results

spice_plots()
Plots of a simulation result
spice_tidy()
Results as one long tibble
spice_wide()
One plot with a column per variable
spice_op()
The operating point as a named vector
spice_measure()
Measure a simulated plot
autoplot(<spice_plot>)
Quick look at a plot with ggplot2
as_tibble(<spice_plot>)
Simulation plots

Sessions

Alter a circuit and rerun it without rebuilding.

spice_session()
Keep a circuit alive to alter and re-run it
spice_alter()
Change element values of a session
spice_param() spice_alterable()
Read a session's element values
spice_rerun()
Run a session's analyses again
spice_set_temp() spice_temp()
Set a session's circuit temperature
spice_set_tmax_divisor() spice_tmax_divisor()
Set a session's transient step divisor

Circuits from figures

spice_pic()
Extract the netlist of a pic figure
spice_pic_svg() spice_pic_texlabels()
Draw a pic figure as SVG

Rawfiles and knitr

spice_read_raw() spice_write_raw()
Read and write SPICE3 rawfiles
spice_knitr spice-knitr
A knitr engine for SPICE3 decks

Package

spice spice-package
spice: Circuit Simulation with a SPICE3f5-Derived Engine