FeynKit · latest
On this page

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.denominator

Member details

name

Property · read-only#
name: str

Return 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: str

Return 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: Expression

Return the symbolic propagator numerator.

Examples

Using the setup in the Propagator class example:

formula = propagator.numerator / propagator.denominator

denominator

Property · read-only#
denominator: Expression

Return the symbolic propagator denominator.

Examples

Using the setup in the Propagator class example:

inverse_propagator = propagator.denominator

__repr__

Method#
__repr__() -> str

Summarize 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_() -> str

Display 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

NameTypeDefaultDescription
prettyAny—

IPython pretty printer receiving the text.

cyclebool—

Whether the object occurs recursively in the current display.