gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] wave storage


From: Felix Salfelder
Subject: Re: [Gnucap-devel] wave storage
Date: Mon, 22 Sep 2014 20:04:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Sep 10, 2014 at 04:33:10PM -0400, al davis wrote:
> need that "wave" command.

there's now a wave command in gnucap-uf (from 0.0.2) that supports some
basics. waves are grouped into WAVE_LISTs which are basically of type
map<string, WAVE>.  _sim->_waves now is a map<string, WAVE_LIST>. string
_sim->_label specifies which of the wave lists is 'active'.

simulations store their results into the respective WAVE_LIST (tr into
"tran", dc into "dc"...) and set _sim->_label accordingly. a label
option passed to the simulation command is meant to override this.

a list command lists the wave lists and the waves within a WAVE_LIST. a
select command sets _sim->_label, a build command reads in waves
(interactively, or from simulator output), a dump command dumps waves.
and theres a command that scales and one that warps a wave.

CKT_BASE::find_wave looks for waves in _sim->_waves[_sim->_label] first,
if unsuccessful, it splits the name into a:b (or rather ([^:]*):(.*))
and checks _sim->_waves[a] for a wave named b. in particular,
measurements work with all these waves.

i think the plugin is a candidate for what is still "apps", but it will
require some more tinkering. if i knew what to do, i'd maybe put it
somewhere...

cheers
felix

PS: i couldn't yet make Abhinavs plot command work with the new _waves,
but i might have another look the next days.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]