[eispice] Re: Ai, what did I do wrong?

  • From: Charles Eidsness <charles@xxxxxxxxxxxxxxxxxxxxx>
  • To: eispice@xxxxxxxxxxxxx
  • Date: Fri, 24 Aug 2007 18:29:15 -0400

Hi Frans,

I released a new "pre-release" version last weekend (0.11) 
and haven't updated the documentation or the webpage yet (I 
plan to do it this weekend). I sent out a note to the 
mailing list explaining that but didn't post anything on the 
webpage, etc... I hadn't thought about a new user 
downloading it that doesn't subscribe to the mailing list, 
sorry about that.

The names of modules have changed quite a bit in the new 
release, for instance Deck is now called Circuit. Until I 
update the webpage you can find some examples in the 
test/regression folder of the source distribution and you 
can use the Python help function (i.e. help(eispice), 
help(eispice.Circuit), help(eispice.Pulse),  etc...) for 
more details on the different modules, classes, etc...

Here's the capacitor test circuit using the new syntax:

-----------------------
import eispice
cct = eispice.Circuit("Capacitor Test")
cct.Vx = eispice.V(1, eispice.GND, 4, eispice.Pulse(4, 8, 
'10n', '2n', '3n', '5n', '20n'))
cct.Cx = eispice.C(1, eispice.GND, '10n')
cct.tran('0.5n', '100n')
eispice.plot(cct)
-----------------------

Or you can use version 0.10 (click on the installation link 
on the webpage and look on the right hand side on the page 
it brings you to) but then you'll miss out on all of the 
snazzy new features.

Sorry about the poor release system. I'll control it a bit 
more next time; like maybe having an "unstable" version. 
Hopefully you can get it working now, if not let me know.

Cheers,
Charles

Frans Pinkse wrote:
> Hello Charles,
> 
> 
> I have downloaded the latest version and supprt modules, but..
> when I try the introduction example I get an error on
> d=Deck()
> Telling me Deck is not defined.
> 
> 
> What could have been gone wrong.
> 
> 
> With best regards,
> 
> Frans.
> ------------------------------------------------------------------
> To unsubscribe from the eispice list send an email to:
> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
> 
------------------------------------------------------------------
To unsubscribe from the eispice list send an email to:
eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

Other related posts: