FeynKit · latest
On this page

Boost

symbolica.community.hepkit Class

Boost(beta: ThreeMomentum)

A proper Lorentz boost specified by a three-velocity beta.

Use boosts to move four-momenta between the laboratory frame and a useful rest frame, with units chosen so that the speed of light is one.

Examples

from symbolica import S, E
from symbolica.community import hepkit as hep
momentum = hep.FourMomentum(10.0, 0.0, 0.0, 0.0)
boost = hep.Boost(hep.ThreeMomentum(0.0, 0.0, 0.5))
boosted = boost.apply(momentum)
assert abs(boosted.mass_squared - momentum.mass_squared) < 1e-10

Parameters

beta ThreeMomentum

Dimensionless boost velocity, whose magnitude must be smaller than one.

Constructor

#

Construct a Lorentz boost from a dimensionless three-velocity.

Examples

Using the setup in the Boost class example:

boost = hep.Boost(hep.ThreeMomentum(0.0, 0.0, 0.5))

Parameters

NameTypeDefaultDescription
betaThreeMomentum—

Boost velocity in units where the speed of light is one.

Member details

beta

Property · read-only#
beta: ThreeMomentum

Return the dimensionless boost velocity.

Examples

Using the setup in the Boost class example:

assert boost.beta.pz == 0.5

apply

Method#
apply(momentum: FourMomentum) -> FourMomentum

Apply this Lorentz boost to a four-momentum.

Examples

Using the setup in the Boost class example:

boosted = boost.apply(momentum)

Parameters

NameTypeDefaultDescription
momentumFourMomentum—

Four-momentum to boost.

apply_inverse

Method#
apply_inverse(momentum: FourMomentum) -> FourMomentum

Apply the inverse Lorentz boost to a four-momentum.

Examples

Using the setup in the Boost class example:

original = boost.apply_inverse(boost.apply(momentum))

Parameters

NameTypeDefaultDescription
momentumFourMomentum—

Four-momentum to inverse-boost.