FeynKit · latest
On this page

DiagramCutSide

symbolica.community.hepkit Class

DiagramCutSide()

One amplitude region of a physical cut, with generation metadata.

Examples

from symbolica import S, E
from symbolica.community import hepkit as hep
model = hep.Model.phi4()
process = model.process(["phi", "phi"], ["phi", "phi"])
result = process.generate_cross_section(loops=1)
diagram = result.diagrams[0]
cut = diagram.cuts[0]
side = cut.left
side_numerator = side.subgraph.numerator_expression()

Member details

subgraph

Property · read-only#
subgraph: Subgraph

Return a physics view of this amplitude side, retaining its original diagram.

Examples

Using the setup in the DiagramCutSide class example:

side_numerator = side.subgraph.numerator_expression()

coupling_orders

Property · read-only#
coupling_orders: dict[str, int]

Return coupling powers of this amplitude side.

Examples

Using the setup in the DiagramCutSide class example:

orders = side.coupling_orders

loop_count

Property · read-only#
loop_count: int

Return the number of loops in this amplitude side.

Examples

Using the setup in the DiagramCutSide class example:

assert side.loop_count == 0  # tree amplitude on this side