PySpice
PySpice copied to clipboard
Simulate electronic circuit using Python and the Ngspice / Xyce simulators
When creating more than one `NgSpiceShared` instances, like in https://pyspice.fabrice-salvaire.fr/examples/ngspice-shared/external-source.html, for example to do two simulations in a row, there was an exception thrown from PySpice: ``` File "/usr/local/lib/python3.6/dist-packages/PySpice/Spice/NgSpice/Shared.py", line...
https://pyspice.discourse.group/t/why-symbol-for-units/32/7
see https://pyspice.discourse.group/t/what-is-the-best-way-to-contribute-on-writing-examples/33/2?u=fsalvaire
# Manual > 19.6 ngspice parallel > > The following chapter describes an offer to the advanced user and developer community. If you > are interested in evaluating the parallel...
e.g. fstart for start_frequency ``` @shortcuts( ('start_freqiency', 'fstart'), ) def transient(..., start_frequency=...): ... ```
References: * https://pep8.org/#descriptive-naming-styles * https://dbader.org/blog/meaning-of-underscores-in-python **Constants** use capital letters **name_** used by convention to avoid conflicts with Python keyword or name clash / I use sometimes **_name** **_name** internal use...