pingspice.analysis.timing.GenericEvaluator(object)
class documentation
Part of pingspice.analysis.timing
(View In Hierarchy)
Known subclasses: pingspice.analysis.timing.ReverseRecoveryEvaluator, pingspice.analysis.timing.TimingEvaluator
Subclasses of me evaluate timing-based behavior of semiconductor
devices. See TimingEvaluator
and ReverseRecoveryEvaluator
.
Parameters | weight | A value for my weight coefficient other than the subclass default. |
us_dt | A 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. |
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
.
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.
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.
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.
Parameters | notSquared | Set True to use the absolute linear difference rathern than
the squared difference. |
Adds to my running SSE total the squared difference between (1) the interval t2-t1 and (2) the expected interval dtExpected.
Parameters | us_dt | The difference between an observed and expected interval that results in an SSE contribution of one. Defaults to my us_dt attribute value. |