[eispice] Re: Circuit Graphical Editor

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

Other related posts: