beta_to_etot¶
-
georges_core.kinematics.
beta_to_etot
(beta: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts relativistic beta to total energy.
>>> beta_to_etot(0.3).to('MeV') <Quantity(1.4829706197870007, 'meter tesla')> >>> beta_to_etot(0.9).to('MeV') <Quantity(2.3218196835259093, 'meter tesla')>
- Parameters
beta – relativistic beta
particle – the particle type (default: proton)
- Returns
Total energy of the particle