Subclasses of me evaluate timing-based behavior of semiconductor devices. See TimingEvaluator and ReverseRecoveryEvaluator.

ParametersweightA value for my weight coefficient other than the subclass default.
us_dtA value for my us_dt coefficient other than my subclass's default.
Method __init__ Undocumented
Method worst_SSE Undocumented
Method setup Undocumented
Method V Undocumented
Method findFirstReally Undocumented
Method timeWhenGreater Returns a 2-tuple with (1) the index of the first element of supplied 1-D array X that is greater than scalar value Xk and (2) the time value at that index.
Method timeWhenLess Returns a 2-tuple with (1) the index of the first element of supplied 1-D array X that is less than scalar value Xk and (2) the time value at that index.
Method add_SSE Adds to my running SSE total the scaled square (unless notSquared set) of the difference between the two supplied scalars value and expected, multiplied by my weight.
Method evalTimeDiff Adds to my running SSE total the squared difference between (1) the interval t2-t1 and (2) the expected interval dtExpected.
Method result Returns my running SSE total and a 2-D Numpy array of goal points that will be plotted with the "x" symbol.
Method _resultFrom Adds k to my index k0 and, if the updated value is still a valid index for my time vector, returns it along with the time value at that index.
def __init__(self, weight=None, us_dt=None):
@property
def worst_SSE(self):
Undocumented
def setup(self, time):
Undocumented
def V(self, *args):
Undocumented
def findFirstReally(self, X, op, Xk, noneLater=False):
Undocumented
def _resultFrom(self, k):

Adds k to my index k0 and, if the updated value is still a valid index for my time vector, returns it along with the time value at that index.

Otherwise, returns a 2-tuple with two None values.

Called by timeWhenGreater and timeWhenLess.

def timeWhenGreater(self, X, Xk):

Returns a 2-tuple with (1) the index of the first element of supplied 1-D array X that is greater than scalar value Xk and (2) the time value at that index.

If no such index is found, returns a 2-tuple with None values.

def timeWhenLess(self, X, Xk, noneLater=False):

Returns a 2-tuple with (1) the index of the first element of supplied 1-D array X that is less than scalar value Xk and (2) the time value at that index.

If no such index is found, returns a 2-tuple with None values.

def add_SSE(self, value, expected, unityError, notSquared=False):

Adds to my running SSE total the scaled square (unless notSquared set) of the difference between the two supplied scalars value and expected, multiplied by my weight.

The scaling is done by dividing the difference by unityError before squaring.

ParametersnotSquaredSet True to use the absolute linear difference rathern than the squared difference.
def evalTimeDiff(self, t1, t2, dtExpected, us_dt=None):

Adds to my running SSE total the squared difference between (1) the interval t2-t1 and (2) the expected interval dtExpected.

Parametersus_dtThe difference between an observed and expected interval that results in an SSE contribution of one. Defaults to my us_dt attribute value.
def result(self):

Returns my running SSE total and a 2-D Numpy array of goal points that will be plotted with the "x" symbol.

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