DiagramThresholdCandidate
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
DiagramThresholdCandidate
class DiagramThresholdCandidateA topology threshold partition, independent of the requested physical final state.
Examples
Topology candidates depend on the generated graph and may be empty; physical final-state cuts are available separately through diagram.cuts.
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]
thresholds = diagram.topology_threshold_candidates
for threshold in thresholds:
crossing_lines = threshold.edges
left_region = threshold.leftAttributes
| Name | Description |
|---|---|
edges |
Return threshold-crossing lines in their stored order. |
left |
Return the left topology selection. |
right |
Return the right topology selection. |
subgraph |
Return the oriented crossing half-edge selection. |
edges
DiagramThresholdCandidate.edges: builtins.list[DiagramEdge]Return threshold-crossing lines in their stored order.
Examples
Using the setup in the DiagramThresholdCandidate class example:
crossing_edges = [candidate.edges for candidate in thresholds]left
DiagramThresholdCandidate.left: SubgraphReturn the left topology selection.
Examples
Using the setup in the DiagramThresholdCandidate class example:
left_regions = [candidate.left for candidate in thresholds]right
DiagramThresholdCandidate.right: SubgraphReturn the right topology selection.
Examples
Using the setup in the DiagramThresholdCandidate class example:
right_regions = [candidate.right for candidate in thresholds]subgraph
DiagramThresholdCandidate.subgraph: SubgraphReturn the oriented crossing half-edge selection.
Examples
Using the setup in the DiagramThresholdCandidate class example:
crossing_regions = [candidate.subgraph for candidate in thresholds]