Giter Club home page Giter Club logo

pyqspice's Introduction

PyQSPICE



About PyQSPICE and QSPICE

The PyQSPICE is a Python package / class of wrapper script interface for the QSPICE™ - a SPICE circuit simulator - available from Qorvo at no cost.

The PyQSPICE invokes QSPICE executable files in a CUI (Charactor User Interface) manner.

  • PyQSPICE executes simulations.
  • PyQSPICE loads simulation results into Python memory for plotting.
  • PyQSPICE expects QSPICE schematic (.qsch) or netlist (.cir) files prepared by users.
    • Using QSPICE GUI to capture schematics
    • Generate netlist files manually or programming manner

Documents

INSTALL.md ::

Please start with this installation procedure of PyQSPICE environment.

QuickStart.md ::

From the end of INSTALL.md document, it continues to this quick start document.

Examples ::


License and Availability

The PyQSPICE is under the Qorvo software license,

and PyQSPICE is available from two (2) repositories at the Qorvo@GitHub and the PyPI

pyqspice's People

Contributors

masashinogawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

fearghal-des

pyqspice's Issues

error running quickstart/ example

I don't know how else to request help, so I apologize for using this "issues" tab to do so.

I tried following the Quick Start/ example for PyQSPICE, Python Module for Qorvo's QSPICE™

and ran into the following error on the line:

run = pqs("UJ3N065080")

as shown below:

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3437, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
pqs('UJ3N065080')
File "C:\ProgramData\Anaconda3\lib\site-packages\PyQSPICE\qspice.py", line 43, in init
self.path['base'] = fname.removesuffix('.qsch').removesuffix('.qraw').removesuffix('.cir')
AttributeError: 'str' object has no attribute 'removesuffix'

Uninitialized variable in qspice.py

In clsQSPICE.InitPlot, variable fe is only initialized if one of the fonts is found. This causes qspice.py to crash if neither font is found. One fix is to initialize fe to None prior to the first fe assignment, so that fe is guaranteed to exist.

    fe = None
    mfont = self.gpath['home'] + "/.config/matplotlib/ResourceHanRoundedJP-Medium.ttf"
    if os.path.exists(mfont): fe = fm.FontEntry(fname=mfont, name="Resource Han Rounded JP Medium")
    mfont = self.gpath['home'] + "/.config/matplotlib/GenJyuuGothicL-Medium.ttf"
    if os.path.exists(mfont): fe = fm.FontEntry(fname=mfont, name="GenJyuuGothicL Medium")
    if fe:
        fm.fontManager.ttflist.insert(0,fe)
        mpl.rcParams['font.family'] = fe.name

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.