Simulate electronic circuit using Python and Ngspice simulator
Project description
Overview
What is PySpice ?
In short PySpice is an open source Python module which interface Python and the famous Spice circuit simulator.
Mainly it permits:
to define a circuit, so called netlist,
to perform a simulation using Ngspice,
to analyse the output using Numpy and Matplotlib
Where is the Documentation ?
The documentation is available on the PySpice Home Page.
How to install it ?
Look at the installation section in the documentation.
Credits
Authors: Fabrice Salvaire
News
V1.0.0
Bump version to v1.0.0 since it just works!
Support Windows platform using Ngspice shared mode
Fixed shared mode
Fixed and completed Spice parser : tested on example’s libraries
V0.4.2
Fixed Spice parser for lower case device prefix.
V0.4.0
Git repository cleanup: filtered generated doc and useless files so as to shrink the repository size.
Improved documentation generator: Implemented
format
for RST content and Tikz figure.Improved unit support: It implements now the International System of Units. And we can now use unit helper like
u_mV
or compute the value of1.2@u_kΩ / 2@u_mA
. The relevant documentation is on this page.Added the Simulation instance to the Analysis class.
Refactored simulation parameters as classes.
V0.3.2
fixed CCCS and CCVS
V0.3.1
fixed ngspice shared
V0.3.0
Added an example to show how to use the NgSpice Shared Simulation Mode.
Completed the Spice netlist parser and added examples, we could now use a schematic editor to define the circuit. The program cir2py translates a circuit file to Python.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PySpice-1.0.0.tar.gz
.
File metadata
- Download URL: PySpice-1.0.0.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9426037139211c6e50e632e00e30111858469e172e4f561570acd776294809d9 |
|
MD5 | e592991629cce5d76cd126911a982612 |
|
BLAKE2b-256 | 5eaf5d5bd1a266c0de4a902a035b840dfb404dfe5ac1d032889bdc2638b000d7 |