LtdReport
symbolica.community.hepkit Class
LtdReport()Generation counts for an LTD representation.
Distinguish retained pole assignments from spanning trees: several residues may share a tree, and a higher-order residue may contain several terms.
Examples
from symbolica.community import hepkit as hep
process = hep.Model.phi3().process(["phi"], ["phi", "phi"])
diagrams = process.generate_diagrams(
loops=1, max_vertices=3, maximum_bridges=0, progress=None
)
diagram = diagrams.diagrams[0]
ltd = diagram.integrate_energy(method="ltd")
report = ltd.report
assert report.residues == len(ltd)Member details
residues
Property · read-only#residues: intNumber of retained signed pole assignments.
Examples
count = report.residuestrees
Property · read-only#trees: intNumber of distinct spanning trees represented by the residues.
Examples
count = report.treesunfolded_terms
Property · read-only#unfolded_terms: intNumber of additive denominator products, including higher-order residues.
Examples
count = report.unfolded_termsinterned_surfaces
Property · read-only#interned_surfaces: intNumber of distinct stored affine energy surfaces.
Examples
count = report.interned_surfaces__repr__
Method#__repr__() -> strSummarize the retained residues, spanning trees, terms and surfaces.
Examples
text = repr(report)_repr_html_
Method#_repr_html_() -> strRender LTD generation statistics as a compact table.
Examples
html = report._repr_html_()View generated signature source: docs/api/python/feynkit-community.pyi:6965