Propagator
symbolica.community.hepkit Class
Propagator()A particle propagator with symbolic numerator and denominator.
Propagator formulas are kept in their model representation so that diagram construction can combine them with interaction Lorentz structures.
Examples
from symbolica import S, E
from symbolica.community import hepkit as hep
model = hep.Model.standard_model()
propagator = model.propagators[0]
formula = propagator.numerator / propagator.denominatorMember details
name
Property · read-only#name: strReturn the propagator name.
Examples
Using the setup in the Propagator class example:
propagators_by_name = {item.name: item for item in model.propagators}particle
Property · read-only#particle: strReturn the name of the particle using this propagator.
Examples
Using the setup in the Propagator class example:
propagator = model.propagators[0]
particle = model.particle(propagator.particle)numerator
Property · read-only#numerator: ExpressionReturn the symbolic propagator numerator.
Examples
Using the setup in the Propagator class example:
formula = propagator.numerator / propagator.denominatordenominator
Property · read-only#denominator: ExpressionReturn the symbolic propagator denominator.
Examples
Using the setup in the Propagator class example:
inverse_propagator = propagator.denominator__repr__
Method#__repr__() -> strSummarize the defining data as well as the propagator name.
Examples
Using the setup in the Propagator class example:
print(model.propagators[0])_repr_html_
Method#_repr_html_() -> strDisplay the model member's physical data and defining expressions.
Examples
Using the setup in the Propagator class example:
from IPython.display import display
display(propagator)_repr_pretty_
Method#_repr_pretty_(pretty: Any, cycle: bool) -> None Write the complete text summary to an IPython pretty printer.
Examples
Using the setup in the Propagator class example:
from IPython.lib.pretty import pretty
text = pretty(propagator)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
pretty | Any | — | IPython pretty printer receiving the text. |
cycle | bool | — | Whether the object occurs recursively in the current display. |
View generated signature source: docs/api/python/feynkit-community.pyi:10053