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-10Parameters
betaThreeMomentumDimensionless 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
| Name | Type | Default | Description |
|---|---|---|---|
beta | ThreeMomentum | — | Boost velocity in units where the speed of light is one. |
Member details
beta
Property · read-only#beta: ThreeMomentumReturn the dimensionless boost velocity.
Examples
Using the setup in the Boost class example:
assert boost.beta.pz == 0.5apply
Method#apply(momentum: FourMomentum) -> FourMomentumApply this Lorentz boost to a four-momentum.
Examples
Using the setup in the Boost class example:
boosted = boost.apply(momentum)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
momentum | FourMomentum | — | Four-momentum to boost. |
apply_inverse
Method#apply_inverse(momentum: FourMomentum) -> FourMomentumApply 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
| Name | Type | Default | Description |
|---|---|---|---|
momentum | FourMomentum | — | Four-momentum to inverse-boost. |
View generated signature source: docs/api/python/feynkit-community.pyi:345