Module Index
- pingspice - Python integrated with Ngspice.
- pingspice.analysis - Circuit analysis.
- pingspice.analysis.capacitance - Stuff supporting special capacitors that can charge faster and get forced rapidly but in a simulation-friendly manner to an initial voltage.
- pingspice.analysis.diode - A power diode model with evolved parameters.
- pingspice.analysis.evaluate - Running multiple simulation processes at once.
- pingspice.analysis.expressions - A power MOSFET model with evolved parameters.
- pingspice.analysis.fixture - Evaluation helpers, for
pingspice.analysis.mosfet
but perhaps useful elsewhere. - pingspice.analysis.mosfet - A power MOSFET model with evolved parameters.
- pingspice.analysis.mosfet_analyzers - Analyzers and analyzer setup for a power MOSFET model with evolved parameters.
- pingspice.analysis.mosfet_model - A power MOSFET model with evolved parameters.
- pingspice.analysis.msim - Running multiple simulation processes at once.
- pingspice.analysis.names - Parameter names.
- pingspice.analysis.param - Parameter finding with differential evolution.
- pingspice.analysis.plot - Plotting simulated vs. expected device curves.
- pingspice.analysis.psim - Python-only simulations.
- pingspice.analysis.sim - Simulation analysis with Ngspice.
- pingspice.analysis.solver - No summary
- pingspice.analysis.sse - With the
ErrorTabulator
and support staff, this module does the nuts and bolts of computing a sum-of-squared-error fitness metric SSE. - pingspice.analysis.thermal - A semiconductor package thermally modeled with a Cauer network having evolved parameters.
- pingspice.analysis.timing - Evaluators for time-based semiconductor device behavior.
- pingspice.analysis.tools - Tools for dealing with interesting simulation vectors.
- pingspice.analysis.vectors - Vectors containers for simulation analysis.
- pingspice.analysis.wire - Evaluation over the wire.
- pingspice.circuit - Circuit netlist construction.
- pingspice.circuit.av - Alterable values: The key to evolving component values and device parameters.
- pingspice.circuit.elements - Provides the
Elements
object, the building block of each pingspice circuit object thatNetlist
constructs. - pingspice.circuit.license - License text to accompany exported netlists.
- pingspice.circuit.netlist - Object-oriented netlist generation.
- pingspice.circuit.nodes - Provides the
Elements
object, the building block of each pingspice circuit object thatNetlist
constructs. - pingspice.circuit.options - Simulation options.
- pingspice.circuit.wrappers - Provides subclasses of
Wrapper
that surround your arguments with useful text in a netlist line.
- pingspice.errors - Exceptions of universal interest.
- pingspice.examples - Example files. See the source.
- pingspice.examples.boost - A switch-mode boost converter supplying current from a 12V battery to a 48V one.
- pingspice.examples.current-limit - Example: Exploring properties of a JFET as current limiter
- pingspice.examples.inductor-fixture - A test fixture for characterizing high-frequency and high-current behavior of a power inductor.
- pingspice.examples.opamp-01 - Simple Op Amp example: A differential amplifier with some lowpass filtering.
- pingspice.examples.rlc-01 - Tutorial, the beginning: Simplest usage example for the pingspice package.
- pingspice.examples.rlc-02 - Tutorial, Part 2
- pingspice.examples.rlc-03 - Tutorial, Part 3
- pingspice.examples.rlc-04 - Tutorial, Part 4
- pingspice.examples.rlc-05 - Tutorial, Part 5
- pingspice.examples.rlc-06 - Tutorial, Part 6: RLC lowpass filter, fourth order. With a Pythonic circuit set up and realistic component values.
- pingspice.lib - A small but hopefully growing collection of possibly bogus subcircuits
for use with pingspice.
- pingspice.lib.active - Some active building blocks.
- pingspice.lib.ad - Stuff that wants to be like Analog Devices when it grows up.
- pingspice.lib.current - Current flow regulating stuff.
- pingspice.lib.diodes - Diodes, including power diodes with evolved parameters.
- pingspice.lib.mcp - Stuff that wants to be like MicroChip when it grows up.
- pingspice.lib.mosfets - Power MOSFETs with evolved parameters.
- pingspice.lib.passive - Possibly more realistic passive stuff.
- pingspice.lib.pv - Solar panel and components.
- pingspice.lib.semiconductor - A base class for power semiconductor subcircuits, which have almost nonexistent built-in model support in Ngspice.
- pingspice.lib.thermal - Semiconductor packages and heatsinks.
- pingspice.ngspice - Management of an Ngspice executable via STDIO.
- pingspice.ngspice.cmd - After sourcing the netlist with
Sourcer
,NgspiceRunner
runs all Ngspice commands throughCommander
. - pingspice.ngspice.getter - A data
Getter
that serves anNgspiceRunner
. - pingspice.ngspice.manhole - Manhole stuff copied and adapted from twisted.conch manhole and stdio.
- pingspice.ngspice.misc - Tokens and errors involving Ngspice.
- pingspice.ngspice.runner - The
NgspiceRunner
and support staff. - pingspice.ngspice.sourcery - Netlist sourcing and options for the Ngspice executable underlying pingspice.
- pingspice.ngspice.stdio - The STDIO plumbing between pingspice and its underlying Ngspice process(es).
- pingspice.ngspice.timing - A
Waiter
allows you to cleanly wait for things to happen, Twisted-style.
- pingspice.ngspice.cmd - After sourcing the netlist with
- pingspice.scripts - No package docstring; 3/4 modules documented
- pingspice.scripts.examples - Extraction of example files into
~/pingspice-examples
. - pingspice.scripts.paramfind -
pf
: Parameter Finder for pingspice subcircuits using Differential Evolution. - pingspice.scripts.ps2sc -
ps2sc
: Convert a pingspiceSubcircuit
subclass into a Ngspice-compatible subcircuit file. - pingspice.scripts.readcsv - No module docstring; 3/9 classes, 0/1 functions documented
- pingspice.scripts.examples - Extraction of example files into
- pingspice.test - Unit tests. See the source.
- pingspice.test.analysis - Unit tests for the
pingspice.analysis
sub-package. See the source.- pingspice.test.analysis.test_capacitance - Unit tests for
analysis.capacitance
. - pingspice.test.analysis.test_evaluate - Undocumented
- pingspice.test.analysis.test_expressions - Unit tests for
analysis.expressions
. - pingspice.test.analysis.test_fixture - Unit tests for
analysis.fixture
. - pingspice.test.analysis.test_mosfet - Unit tests for
analysis.mosfet
, withanalysis.solver
dragged along for the ride. - pingspice.test.analysis.test_mosfet_analyzers - Unit tests for
analysis.mosfet_analyzers
. - pingspice.test.analysis.test_mosfet_model - Unit tests for
analysis.mosfet_model
. - pingspice.test.analysis.test_msim - Undocumented
- pingspice.test.analysis.test_param - Unit tests for
analysis.param
. - pingspice.test.analysis.test_plot - Unit tests for
analysis.plot
. Inevitably involves GuruChecksOutput. - pingspice.test.analysis.test_psim - Unit tests for
analysis.psim
. - pingspice.test.analysis.test_sim - Unit tests for
analysis.sim
. - pingspice.test.analysis.test_solver - Unit tests for
analysis.solver
. - pingspice.test.analysis.test_sse - Unit tests for
analysis.sse
. - pingspice.test.analysis.test_thermal - Unit tests for
analysis.thermal
. - pingspice.test.analysis.test_timing - Unit tests for
analysis.timing
. - pingspice.test.analysis.test_vectors - Unit tests for
analysis.vectors
. - pingspice.test.analysis.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.analysis.test_capacitance - Unit tests for
- pingspice.test.circuit - Unit tests for the
pingspice.circuit
sub-package. See the source.- pingspice.test.circuit.test_av - Unit tests for circuit.av.
- pingspice.test.circuit.test_elements - Unit tests for
elements
. - pingspice.test.circuit.test_netlist - Unit tests for
netlist
. - pingspice.test.circuit.test_nodes - Unit tests for
elements
. - pingspice.test.circuit.test_wrappers - Unit tests for
wrappers
. - pingspice.test.circuit.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.lib - Unit tests for the
pingspice.lib
sub-package. See the source.- pingspice.test.lib.test_active - Unit testing for
lib.active
. - pingspice.test.lib.test_current - Unit testing for
lib.current
. - pingspice.test.lib.test_diodes - No module docstring; 3/6 classes, 0/1 functions documented
- pingspice.test.lib.test_mosfets - Unit tests for
lib.mosfets
. - pingspice.test.lib.test_passive - Unit testing for
lib.passive
. - pingspice.test.lib.test_thermal - Unit tests for
lib.thermal
. - pingspice.test.lib.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.lib.test_active - Unit testing for
- pingspice.test.ngspice - Unit tests for the
pingspice.ngspice
sub-package. See the source.- pingspice.test.ngspice.test_cmd - Unit tests for
pingspice.ngspice.cmd
. - pingspice.test.ngspice.test_getter - Unit tests for
pingspice.ngspice.getter
. - pingspice.test.ngspice.test_runner - Unit tests for
ngspice.runner
. - pingspice.test.ngspice.test_sourcery - Unit tests for
pingspice.ngspice.sourcery
. - pingspice.test.ngspice.test_stdio - Unit test for
pingspice.ngspice.stdio
. - pingspice.test.ngspice.test_timing - Unit tests for
pingspice.ngspice.timing
. - pingspice.test.ngspice.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.ngspice.test_cmd - Unit tests for
- pingspice.test.scripts - Unit tests for the
pingspice.scripts
sub-package. See the source.- pingspice.test.scripts.test_readcsv - Unit tests for
scripts.readcsv
. - pingspice.test.scripts.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.scripts.test_readcsv - Unit tests for
- pingspice.test.testbase - A base module for all
pingspice
unit tests.
- pingspice.test.analysis - Unit tests for the
- pingspice.util - Generally useful stuff that's referenced by most modules of
pingspice
. Highlights:
- pingspice.analysis - Circuit analysis.