pingspice.ngspice.sourcery.OptionParser(object)
class documentation
Part of pingspice.ngspice.sourcery
(View In Hierarchy)
I parse text lines in the CONTROL section of an Ngspice netlist.
Call an instance of me with a list of control-section lines (must be all lowercase) and I will return a dict of any options specified in those lines, keyed by name and with an integer index of where in the line list the option appears.
Method | __call__ | Undocumented |