feynml.line.Line
- class feynml.line.Line(source: str | None = '', target: str | None = '')[source]
-
- __init__(source: str | None = '', target: str | None = '') None
Methods
__init__([source, target])connect(source, target)goes_into(vertex)Return True if the propagator goes into the vertex, False otherwise.
goes_out_of(vertex)Return True if the propagator goes out of the vertex, False otherwise.
with_source(source)with_target(target)Attributes
Source of the object
Target of the object
- goes_into(vertex)
Return True if the propagator goes into the vertex, False otherwise.
- goes_out_of(vertex)
Return True if the propagator goes out of the vertex, False otherwise.
- source: str | None = ''
Source of the object
- target: str | None = ''
Target of the object