graphicle.data.MomentumArray.shift_rapidity(shift: float | ndarray[Any, dtype[float64]]) MomentumArray[source]

Performs a Lorentz boost to a new frame, with a rapidity increased by shift.

New in version 0.2.11.

Parameters:
shift : float or ndarray[float64]

The change in rapidity. If scalar, change will be broadcast over all elements. If ndarray, change will be element-wise.

Returns:

Copy of this array, with the shifted rapidity value.

Return type:

MomentumArray


Last update: Jun 27, 2025