pingspice.analysis.sim.AnalyzerBase(AV_ListHolder)
class documentation
Part of pingspice.analysis.sim
(View In Hierarchy)
Known subclasses: pingspice.analysis.psim.Analyzer, pingspice.analysis.sim.Analyzer
Base class for all analyzers.
No constructor is used; your subclass is welcome to have one, e.g., Analyzer.__init__
.
Make sure your subclass has an instance of a VectorsBase
subclass accessible as V from the get-go.
Instance Variable | maxWait | The number of seconds an analyzer will wait for vectors from its Ngspice or
Python-only simulation. This timeout should be greater than the timeout for
an NgspiceRunner to await a response to its commands. The default
None , for no timeout at all. |
Class Method | abortAll | Call this when all instances of me, present or future, should abort their operations. |
Method | dLock | Property: An instance of DeferredLock , newly constructed
and awaiting release if I didn't have one yet. |
Inherited from AV_ListHolder:
Method | params | Property: A list of the AV objects in my avList that are parameters. |
Method | avListSorted | Property: A copy of my avList, sorted by each AV object's dmpLabel . If
I have no avList for some reason, returns an empty list. |
Method | __len__ | My length is the number of parameter AV objects in my avList. |
Method | getValuesIndexFor | Returns the index in each values list supplied to my __call__
method at which the one and only parameter AV object is found having the
same name as the supplied av. |
Method | checkValues | Checks the supplied list of values to ensure that I have a parameter AV object for every one, and no parameter AV objects not accounted for. |
Method | alterations | Performs component and device parameter alterations based on the supplied list of parameter values, using the two callables supplied as additional arguments. |
None
, for no timeout at all.
def abortAll(cls):
Call this when all instances of me, present or future, should abort their operations.
Setting and checking any kind of class-wide status often has unintended consequences. Only call this if you really want your pingspice application to quit as soon as possible, no questions asked, without the possibility of restarting except as a new Python process.