Jupyter Notebooks for Electronic Circuits using NGSPICE
In this project, Jupyter Notebooks are made available for Electronics courses. The Notebooks are interactive in the sense that the user is enabled to change circuit parameters (such as resistance, capacitance) and see the effect of that on the circuit behaviour. The following Notebooks are currently available.
- BJT Widlar current mirror
- Common-emitter amplifier
- Op-amp filter
- DC analysis of MOS circuits (1)
- DC analysis of MOS circuits (2)
Help documents/videos for installation of Jupyter Notebook
Visit this link.Instructions for Linux
- Install NGSPICE.
- Download jupyter_ngspice.zip.
- Move jupyter_ngspice.zip to your home directory.
- cd ~
- unzip jupyter_ngspice.zip
- cd jupyter_ngspice
- jupyter notebook
- That should show the Notebook files in your browser.
Instructions for Windows
- Download jupyter_ngspice.zip.
- Extract files from jupyter_ngspice.zip to your user directory (say, D:\).
- Open Command prompt. Change to D:\ and type the following commands.
- pip install -e .
- jupyter notebook
- That should show the Notebook files in your browser.
- Note that there is no need to install NGSPICE separately; it will get installed in D:\jupyter_ngspice\ when you execute any notebook (it is a one-time installation).