I hold a set of Boolean configuration options for an entire pingspice run. Request an option as an attribute. The value will be False if not set.

Instance Variable quiet Prevents logging or printing anything. Overrides verbose, chatty, spew, and hardcore.
Instance Variable verbose Prints a small amount of Ngspice status output.
Instance Variable chatty Prints a bit more status output than normal.
Instance Variable spew Include details about STDIO communiction with Ngspice (for pingspice debugging.)
Instance Variable hardcore Include an insane amount of details about STDIO communiction with Ngspice (for increasingly rare in-depth pingspice debugging.)
Instance Variable nodes Log info about the nodes connected for each Include and Subcircuit constructed for analysis. Default is False, because this can result in a lot of info clogging up your logs.
Instance Variable console Drop to a primitive console upon an Ngspice error, for netlist debugging.
Instance Variable source Prints the original source (without any alterations).
Instance Variable study If using an analyzer, have it create a netlist file for study upon an Ngspice error.
Instance Variable study_stop Exit after creating a netlist file for study.
Instance Variable study_best Have Solver write a netlist file for each setup of the best parameter combination reported to it.
Instance Variable devel If using an analyzer, have it create a netlist for study after every analysis, unless a netlist file is already there for that setup. This is intended for development purposes.
Instance Variable keep If using an analyzer, have it set the 'keep' pingspice-only simulation option to keep any files generated for the netlist. Implied by study and study_best and the options that imply those options, devel and study_stop.
Instance Variable warn_err Consider warnings to be errors (for development purposes).
Instance Variable fail Where a Deferred is awaiting a result, run its errback upon an Ngspice error.
Instance Variable stop Stop everything upon an Ngspice error.
Instance Variable waitmsg Include a "WAITING..." message and follow-up "DONE..." when Ngspice is taking a while.
Instance Variable full Have Ngspice save a full suite of all its simulation vectors (can take up a lot of RAM).
Instance Variable et_sse Have evaluate return an instance of ErrorTabulator as the SSE instead of a float. This works the same since it will evaluate as a float, and there's no performance penalty. (Speed is the same!) Allows you to see details about any significant inconsistency between SSE reported and the SSE that Solver recomputes, which should never happen now that all the lock/release has finally been figured out.
Instance Variable xsse Set True to abort an evaluation if the challenger's SSE exceeds the target SSE. Can speed things up if your paramfinder has very slow setups numbered higher than faster ones.
Instance Variable debug Force single-core, no-wire operation and write every line of STDIN, STDOUT, and STDERR to text files STDIN.log, STDOUT.log, and STDERR.log. Obviously, for debugging only.
Method __init__ Config(enabledSet) or Config(**kw)
Method __repr__ Undocumented
Method __getstate__ Undocumented
Method __setstate__ Undocumented
Method isEnabled Returns True if the named option is enabled, directly or by implication.
Method __getattr__ Undocumented
Method copy Returns a copy of me with the same options enabled as I currently have. If you change any of my options, it does not affect those of the copy, and vice-versa.
Method check Raises an exception if name is not one of my options.
Method any Returns True if any of the named options are enabled, directly or by implication.
Method all Returns True if all of the named options are enabled, directly or by implication.
Method none Returns True if none of the named options are enabled, directly or by implication.
Method enable Enables all of the options named as arguments, first checking that they are in fact the valid names of options.
Method disable Disables all of the options named as arguments, first checking that they are in fact the valid names of options.
quiet =
Prevents logging or printing anything. Overrides verbose, chatty, spew, and hardcore.
verbose =
Prints a small amount of Ngspice status output.
chatty =
Prints a bit more status output than normal.
spew =
Include details about STDIO communiction with Ngspice (for pingspice debugging.)
hardcore =
Include an insane amount of details about STDIO communiction with Ngspice (for increasingly rare in-depth pingspice debugging.)
nodes =
Log info about the nodes connected for each Include and Subcircuit constructed for analysis. Default is False, because this can result in a lot of info clogging up your logs.
console =
Drop to a primitive console upon an Ngspice error, for netlist debugging.
source =
Prints the original source (without any alterations).
study =
If using an analyzer, have it create a netlist file for study upon an Ngspice error.
study_stop =
Exit after creating a netlist file for study.
study_best =
Have Solver write a netlist file for each setup of the best parameter combination reported to it.
devel =
If using an analyzer, have it create a netlist for study after every analysis, unless a netlist file is already there for that setup. This is intended for development purposes.
keep =
If using an analyzer, have it set the 'keep' pingspice-only simulation option to keep any files generated for the netlist. Implied by study and study_best and the options that imply those options, devel and study_stop.
warn_err =
Consider warnings to be errors (for development purposes).
fail =
Where a Deferred is awaiting a result, run its errback upon an Ngspice error.
stop =
Stop everything upon an Ngspice error.
waitmsg =
Include a "WAITING..." message and follow-up "DONE..." when Ngspice is taking a while.
full =
Have Ngspice save a full suite of all its simulation vectors (can take up a lot of RAM).
et_sse =
Have evaluate return an instance of ErrorTabulator as the SSE instead of a float. This works the same since it will evaluate as a float, and there's no performance penalty. (Speed is the same!) Allows you to see details about any significant inconsistency between SSE reported and the SSE that Solver recomputes, which should never happen now that all the lock/release has finally been figured out.
xsse =
Set True to abort an evaluation if the challenger's SSE exceeds the target SSE. Can speed things up if your paramfinder has very slow setups numbered higher than faster ones.
debug =
Force single-core, no-wire operation and write every line of STDIN, STDOUT, and STDERR to text files STDIN.log, STDOUT.log, and STDERR.log. Obviously, for debugging only.
def __init__(self, *args, **kw):

Config(enabledSet) or Config(**kw)

def __repr__(self):
Undocumented
def __getstate__(self):
Undocumented
def __setstate__(self, state):
Undocumented
def isEnabled(self, name):

Returns True if the named option is enabled, directly or by implication.

def __getattr__(self, name):
Undocumented
def copy(self):

Returns a copy of me with the same options enabled as I currently have. If you change any of my options, it does not affect those of the copy, and vice-versa.

def check(self, name):

Raises an exception if name is not one of my options.

def any(self, *args):

Returns True if any of the named options are enabled, directly or by implication.

def all(self, *args):

Returns True if all of the named options are enabled, directly or by implication.

def none(self, *args):

Returns True if none of the named options are enabled, directly or by implication.

def enable(self, *names):

Enables all of the options named as arguments, first checking that they are in fact the valid names of options.

def disable(self, *names):

Disables all of the options named as arguments, first checking that they are in fact the valid names of options.

API Documentation for pingspice, generated by pydoctor at 2021-09-18 08:41:11.