LineRef¶
- class madspace.LineRef(*args, **kwargs)¶
Bases:
pybind11_objectA reference to one line of a Diagram by LineType and 0-based index.
The string form is a type letter (
i,o,p) followed by the index, e.g."i0","o2","p1".Overloaded function.
__init__(self: madspace._madspace_py.LineRef, type: madspace._madspace_py.LineRef.LineType, index: typing.SupportsInt) -> None
- Parameters:
type – Which line family.
index – 0-based index within that family.
__init__(self: madspace._madspace_py.LineRef, str: str) -> None
Parse the
"i0"/"o2"/"p1"string form.- class LineType(*args, **kwargs)¶
Bases:
pybind11_objectMembers:
incoming
outgoing
propagator
Overloaded function.
__init__(self: madspace._madspace_py.LineRef.LineType, value: typing.SupportsInt) -> None
__init__(self: madspace._madspace_py.LineRef.LineType, name: str) -> None
- incoming = <LineType.incoming: 0>¶
- LineRef.LineType.name -> str
- outgoing = <LineType.outgoing: 1>¶
- propagator = <LineType.propagator: 2>¶
- property value¶
- incoming = <LineType.incoming: 0>¶
- index(self: madspace._madspace_py.LineRef) int¶
The 0-based index within the family.
- outgoing = <LineType.outgoing: 1>¶
- propagator = <LineType.propagator: 2>¶
- type(self: madspace._madspace_py.LineRef) madspace._madspace_py.LineRef.LineType¶
The line family.