Keep an instance of me handy to check your arguments to Ngspice commands before you send them.

Method positive Are all values positive?
Method notLess Is higherValue greater than or equal to lowerValue?
Method greater Is higherValue greater than lowerValue?
Method numeric Are all args numeric?
Method inSet Is stringValue among the possibilities?
def positive(self, *values):

Are all values positive?

def notLess(self, higherValue, lowerValue):

Is higherValue greater than or equal to lowerValue?

def greater(self, higherValue, lowerValue):

Is higherValue greater than lowerValue?

def numeric(self, *args):

Are all args numeric?

def inSet(self, stringValue, *possibilities):

Is stringValue among the possibilities?

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