beta_to_range

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

Converts relativistic beta to range.

>>> beta_to_range(0.3).to('cm')
<Quantity(1.4829706197870007, 'meter tesla')>
>>> beta_to_range(0.9).to('cm')
<Quantity(2.3218196835259093, 'meter tesla')>
Parameters
  • beta – relativistic beta

  • particle – the particle type (default: proton)

Returns

Range of the particle