beta_to_pv

georges_core.kinematics.beta_to_pv(beta: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]

Converts relativistic beta to relativistic pv.

>>> beta_to_pv(100 * _ureg.MeV).to('T m')
<Quantity(1.4829706197870007, 'meter tesla')>
>>> beta_to_pv(230 * _ureg.MeV).to('T m')
<Quantity(2.3218196835259093, 'meter tesla')>
Parameters
  • beta – relativistic beta

  • particle – the particle type (default: proton)

Returns

Relativistic pv of the particle