CutPartition
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
CutPartition
class CutPartitionA separating topology partition, independent of physical final-state cuts.
Both boundary selections retain half-edges on their respective sides.
Examples
Using the setup in the FeynmanDiagram class example:
partitions = diagram.all_cuts([0], [1])
boundary_edges = partitions[0].boundary_left.edgesAttributes
| Name | Description |
|---|---|
boundary_left |
Crossing half-edges incident to the source side. |
boundary_right |
Crossing half-edges incident to the target side. |
source_side |
Region containing the requested source vertices. |
target_side |
Region containing the requested target vertices. |
boundary_left
CutPartition.boundary_left: SubgraphCrossing half-edges incident to the source side.
Examples
source_ports = diagram.all_cuts([0], [1])[0].boundary_left.half_edgesboundary_right
CutPartition.boundary_right: SubgraphCrossing half-edges incident to the target side.
Examples
target_ports = diagram.all_cuts([0], [1])[0].boundary_right.half_edgessource_side
CutPartition.source_side: SubgraphRegion containing the requested source vertices.
Examples
source = diagram.all_cuts([0], [1])[0].source_sidetarget_side
CutPartition.target_side: SubgraphRegion containing the requested target vertices.
Examples
target = diagram.all_cuts([0], [1])[0].target_side