Skip to content

scivision/python-spice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Python - command line SPICE interface and plotting

GNUcap or NGspice voltage multiplier sim.

Used for my Ph.D. qualifying exam, and a follow-on to my harmonic radar tag improvements.

NOTE: Consider using PySpice instead of this approach.

Installation:

  • Linux: apt install ngspice
  • macOS: brew install ngspice
  • Windows

Simulate no-driver Cree XHP LED problems due to wire voltage drop, using ledDrop.net and io.StringIO to avoid output file mess.

python ledDrop.py

Other programs

These programs run from GNU Octave or Matlab.

  • runDub.m run and plot basic voltage doubler current input and voltage output vs. time
  • runDubTry.m plot spectrum
  • runDubMult.m multi-stage voltage multiplier: voltage, current, impedance
  • runMos.m using MOS simulation

About

Plot GNUCAP/NGSPICE sim data with Matlab/GNU Octave

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors