pingspice.analysis.solver.Rechecker(object)
class documentation
Part of pingspice.analysis.solver
(View In Hierarchy)
Solver
uses an instance of me to compare a recomputed ErrorTabulator
with a reported SSE.
I keep track of best-SSE reports and indicate when its own re-computation of the SSE differs from what the report said the SSE was.
Parameters | usingET | Set True if Solver.evaluate
returns an instance of ErrorTabulator
as the SSE instead of a float. |
Method | __init__ | Undocumented |
Method | check | Call this with a fully populated instance of ErrorTabulator
from a recomputation of SSE, along with a reported SSE. |
Method | processComplaint | Called with an individual i and a discrepant result from the recomputation of that individual's values. Logs an error message about the discrepancy. |
Call this with a fully populated instance of ErrorTabulator
from a recomputation of SSE, along with a reported SSE.
Returns a 3-tuple with (1) the result that the Solver
instance I serve should return from its report callback, (2) the text that
it should use as a prelude to its pretty-printed values if this is a legit
report, and (3) the text, if any, that it should log after the reports are
done being processed.
Some details about the 3-tuple items:
-
The result is (
None
is there was not too much of an SSE difference. If there was, the result is thesse.Result
instance result of et. -
The prelude text is
None
if this report should be ignored because it really isn't the best SSE I've seen yet, and there's no SSE discrepancy to talk about. -
The post-report text is
None
unlessErrorTabulator
instances are being used for the reported SSEs and there is an SSE discrepancy to describe in detail.