gamma_to_etot¶
-
georges_core.kinematics.
gamma_to_etot
(gamma: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → float[source]¶ Converts relativistic gamma to total energy.
>>> gamma_to_etot(1.5) <Quantity(1.1547005383792517, '')> >>> gamma_to_etot(1.2) <Quantity(2.3218196835259093, 'meter tesla')>
- Parameters
gamma – relativistic gamma
particle – the particle type (default: proton)
- Returns
Total energy of the particle