Comments (3)
Hi!
Its use is to get a rough idea of the complexity of the circuit while the simulation is running, each step corresponds to a matrix inversion (eg if a matrix inversion takes 10s and you are simulating 1k time steps you know you are in trouble or there is something wrong in the netlist).
That said, I see your point.
I can suggest as options:
- not instantiating it unless verbose=6
- removing it
It is not really clear to me what you mean by factoring it in its own library.
I understand it is just a nuisance in a library and it can be removed/modified.
from ahkab.
Ah, correlating steps to matrix inversion is a nice touch! What do you think about:
if verbose > 1:
import ticker
tick = ticker.ticker(increments_for_step=1)
tick.display(verbose > 1)
Or just removing it. It's a nice bit of code, but it got in the way when I was trying to use 'bpython' (an interactive python shell) with ahkab - bpython really didn't like something writing straight to stdout. I "solved" the problem by turning verbosity all the way down, but unfortunately that removed a bunch of useful information.
Punchline: open to suggestions, it's gotten in my way, but is a nice touch.
from ahkab.
With 8b66a7f printing and doing weird stuff with stdout when running from the command interpreter should be greatly reduced. It should play nicer with bpython. Tangentially, if you like bpython, ipython is well worth a try.
from ahkab.
Related Issues (20)
- Issue with ankab HOT 5
- Tran example : 'op_solution' object has no attribute 'asmatrix' HOT 5
- voltage pulse source for a MOS inverter + questions HOT 4
- Zener Diode HOT 2
- Subcircuit call problem HOT 1
- RL circuit vs. LR circuit: different output HOT 5
- Plot circuit HOT 1
- Voltage-Controlled Switch Issue HOT 1
- Issue with a switch
- Compute on GPU using TensorFlow
- Verification RC cutoff frequency HOT 1
- error in AC and TRAN tutorial
- AttributeError: module 'pylab' has no attribute 'hold' HOT 3
- ImportError: No module named matplotlib.pyplot HOT 1
- Help : Finding current through a resistor
- Cant define diode HOT 1
- Help : Modeling a circuit with parallel components HOT 2
- Locale appears not set HOT 2
- How to use User definement device with non-linear property
- print_symbolic_results / print_symbolic_transfer_functions: sort key bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahkab.