Nimphel¶
Nimphel is a Python API for constructing, reading, manipulating, and writing SPICE netlists. Circuits are assembled from a small format-neutral intermediate representation: directives, models, instances, subcircuits, and circuits.
Component factories and Python loops make repetitive structures concise. Readers translate supported source formats into the shared representation, and writers translate that representation into simulator-specific output.
Warning
This project is still in development so expect breaking changes. Ideas and contributions are more than welcome.
Citation¶
If you use this software, please consider citing the software through the following publication.
Vinagrero GutiƩrrez, Sergio, Giorgio Di Natale, and Elena-Ioana Vatajelu. 2023. "Python Framework for Modular and Parametric SPICE Netlists Generation" Electronics 12, no. 18: 3970. https://doi.org/10.3390/electronics12183970
Or use the following Bibtex source
@Article{electronics12183970,
AUTHOR = {Vinagrero GutiƩrrez, Sergio and Di Natale, Giorgio and Vatajelu, Elena-Ioana},
TITLE = {Python Framework for Modular and Parametric SPICE Netlists Generation},
JOURNAL = {Electronics},
VOLUME = {12},
YEAR = {2023},
NUMBER = {18},
ARTICLE-NUMBER = {3970},
URL = {https://www.mdpi.com/2079-9292/12/18/3970},
ISSN = {2079-9292},
DOI = {10.3390/electronics12183970}
}
Documentation structure¶
- Getting started installs Nimphel and builds a first circuit.
- Core concepts introduces the intermediate representation.
- Components and instances covers reusable factories.
- Circuits and subcircuits covers hierarchy and contexts.
- Semantic directives separates intent from syntax.
- Manipulate a circuit covers lookup and mutation.
- Core reference summarizes the public API.