feynlag.lagrangian.InvarianceReport

class feynlag.lagrangian.InvarianceReport(failures=<factory>, checked=0, hints=<factory>)[source]

Result of Model.check_invariance().

Parameters:
__init__(failures=<factory>, checked=0, hints=<factory>)
Parameters:
Return type:

None

Methods

__init__([failures, checked, hints])

explain()

What failed and why, one paragraph per failure.

raise_on_failure()

Attributes

checked

ok

failures

list of (term, check_name, details)

hints

one plain-language explanation per failure, in the same order