Kinematics

class georges_core.kinematics.Kinematics(q: Union[float, _Q], particle: _ParticuleType = <class 'georges_core.particles.Proton'>, kinetic: Optional[bool] = None)[source]

Bases: object

Parameters
  • q

  • particle

  • kinetic

Attributes Summary

beta

Provides beta.

brho

Provides brho.

brho_

Provides brho (magnitude only).

ekin

TODO

ekin_

TODO

etot

TODO

etot_

TODO

gamma

Provides gamma.

momentum

Provides the momentum.

momentum_

Provides the momentum (magnitude only).

particule

Associated particle type.

pv

Provides pv.

range

TODO

range_

TODO

Methods Summary

to(quantity)

param quantity

to_beta()

Returns:

to_brho([magnitude])

param magnitude

to_ekin([magnitude])

param magnitude

to_etot([magnitude])

param magnitude

to_gamma()

Returns:

to_momentum([magnitude])

param magnitude

to_pv()

Returns:

to_range([magnitude])

param magnitude

Attributes Documentation

beta

Provides beta.

brho

Provides brho.

brho_

Provides brho (magnitude only).

ekin

TODO

ekin_

TODO

etot

TODO

etot_

TODO

gamma

Provides gamma.

momentum

Provides the momentum.

momentum_

Provides the momentum (magnitude only).

particule

Associated particle type.

pv

Provides pv.

range

TODO

range_

TODO

Methods Documentation

to(quantity: str) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

quantity

Returns:

to_beta() → float[source]

Returns:

to_brho(magnitude: bool = False) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

magnitude

Returns:

to_ekin(magnitude: bool = False) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

magnitude

Returns:

to_etot(magnitude: bool = False) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

magnitude

Returns:

to_gamma() → float[source]

Returns:

to_momentum(magnitude: bool = False) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

magnitude

Returns:

to_pv() → float[source]

Returns:

to_range(magnitude: bool = False) → Union[float, pint.quantity.build_quantity_class.<locals>.Quantity][source]
Parameters

magnitude

Returns: