[eispice] Re: Circuit Graphical Editor
- From: Thomas Traber <thomas.traber@xxxxxxx>
- To: eispice@xxxxxxxxxxxxx
- Date: Tue, 23 Oct 2007 09:40:56 +0200
The examples at
http://www.thedigitalmachine.net/eispice.examples.html
show how to describe circuits using eispice. It also shows how to start
the simulation and how to make simple plots.
To get the voltage at a net use something like:
cir = eispice.Circuit()
...
cir.R_load = eispice.R("load",eispice.GND,50)
...
v_load = cir.voltage("load")
BTW: Here is a basic example how to use the python help within IPython
(in plain Python things are similiar but less comfortable).
----------------------------------------
In [1]: from eispice import *
In [2]: c = Circuit()
In [3]: dir c
------> dir(c)
Out[3]:
['__class__',
'__delattr__',
'__dict__',
'__doc__',
'__getattribute__',
'__hash__',
'__init__',
'__module__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__str__',
'__weakref__',
'check',
'current',
'devices',
'devices_',
'op',
'op_',
'results',
'title',
'tran',
'tran_',
'variables',
'voltage']
In [4]: help c.current
------> help(c.current)
[Now the help text appears]
------------------------------------------------------
Thomas
------------------------------------------------------------------
To unsubscribe from the eispice list send an email to:
eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
- References:
- [eispice] Circuit Graphical Editor
- From: Mitja Jež
- [eispice] Re: Circuit Graphical Editor
- From: Thomas Traber
- [eispice] Re: Circuit Graphical Editor
- From: Mitja Jež
Other related posts:
- » [eispice] Circuit Graphical Editor
- » [eispice] Re: Circuit Graphical Editor
- » [eispice] Re: Circuit Graphical Editor
- » [eispice] Re: Circuit Graphical Editor
- » [eispice] Re: Circuit Graphical Editor
- » [eispice] Re: Circuit Graphical Editor
- [eispice] Circuit Graphical Editor
- From: Mitja Jež
- [eispice] Re: Circuit Graphical Editor
- From: Thomas Traber
- [eispice] Re: Circuit Graphical Editor
- From: Mitja Jež