graphicle.calculate.thrust(pmu: MomentumArray, return_axis: False, rng_seed: int | None) float[source]
graphicle.calculate.thrust(pmu: MomentumArray, return_axis: False) float
graphicle.calculate.thrust(pmu: MomentumArray, rng_seed: int | None) float
graphicle.calculate.thrust(pmu: MomentumArray) float
graphicle.calculate.thrust(pmu: MomentumArray, return_axis: True, rng_seed: int | None) tuple[float, ndarray[Any, dtype[float64]]]
graphicle.calculate.thrust(pmu: MomentumArray, return_axis: True) tuple[float, ndarray[Any, dtype[float64]]]

Computes the thrust of an event, from the final-state momenta.

New in version 0.3.8.

Parameters:
pmu : MomentumArray

Momentum of hadronised particles in the final state of the event record.

return_axis : bool

If True, will return a tuple with the thrust, and the axis unit vector which was found to maximise thrust.

rng_seed : int, optional

Initial guess for the axis unit vector is sampled from a uniform random distribution, over the surface of a sphere. If passed, will initialise the random number generator with the provided seed, enabling reproducible results.

Returns:

  • thrust (float) – The thrust of the event.

  • axis (ndarray[float64], optional) – The x, y, and z components of the thrust axis, respectively.

See also

spherocity

Computes the spherocity from final state momenta.

c_parameter

Computes the C-parameter from the final state momenta.


Last update: Jun 27, 2025