That sounds like it could work. I'll give it a try... On Thu, Jan 14, 2010 at 9:14 PM, John Doty <j...@noqsi.com> wrote: > > On Jan 12, 2010, at 8:41 PM, asom...@gmail.com wrote: > >> I'm trying to do DC parameter sweeps in ngspice. I'd really like to >> do them in log scale, but it seems that ngspice only supports linear >> scale for DC sweeps. Over the input range I'm simulating, a linear >> sweep takes far too long. So I'm looking for a workaround. I thought >> that maybe I'd do the sweeps piecewise linear, with maybe 10 points >> per decade over several decades and then combine the results. >> However, I can't find any way in ngspice to concatenate two vectors. >> Does anybody know of any workarounds for this depressing situation? I >> don't want to invoke any postprocessing in a different programming >> language, because I'm trying to write scripts for multiple simulators >> (gnucap, ngspice, qucs) that all output data in the same format. Any >> help would be appreciated. > > > Do it in the simulation itself. Sweep a voltage source. Feed it to a diode > to make a current that's exponential with voltage. Convert the current back > to a voltage with a current controlled voltage source block. > > John Doty Noqsi Aerospace, Ltd. > http://www.noqsi.com/ > j...@noqsi.com > > > > > _______________________________________________ > geda-user mailing list > geda-user@moria.seul.org > http://www.seul.org/cgi-bin/mailman/listinfo/geda-user >
_______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user