conatus.expert.TauWatch¶
- class conatus.expert.TauWatch(solver, growth_limit)[source]¶
Bases:
objectMax |coefficient| of each tau variable, recorded at every call. Use it as the
callbackofIVPSolver.run()with an explicitevery(run(n, callback=tw, every=10); a callback withouteveryis refused), or call it yourself betweenIVPSolver.run_graph()blocks.growth_limitis explicit (no default): when a tau grows by more than that factor over its first recorded value, aRuntimeWarningnames it. The history stays inself.history({tau name: [values]}) so a run can report it; nothing is changed in the solver.- Parameters:
solver (IVPSolver)
growth_limit (float)