Insall python
https://www.python.org/downloads/
If you have python3 as default python set in your environment do
$ test.py 20
Otherwise if you have python3 installed but not as default you can run as:
$ python3 test.py 20
where 20 is the mesh size.
analysis_utils.py
heat_problem.py
roc_model.py
spice_gen.py
current\_split.py
left\_src\_others\_sink.py
test.py
I use the following software/libs
Linux 4.13.4
Python 3.6.2
numpy
matplotlib (Probably wont hit this import unless you plot something)
(following should come with the python installation)
itertools
re
sys
subprocess
ngspice 27
If/when we try to use Windows, we need to move to a different SPICE simulator with a command line interface.
To change the simulator to be run SpiceGenerator.run
needs to be
modified.
We may also need to change the way the output is parsed depending on
the simulator, which can be done in SpiceGenerator.generate_results_dict