public class RelativisticParameterConverter
extends java.lang.Object
Constructor and Description |
---|
RelativisticParameterConverter() |
Modifier and Type | Method and Description |
---|---|
static double |
computeBetaFromEnergies(double W,
double Er)
Convenience function for computing the probe's velocity beta (w.r.t.
|
static double |
computeBetaFromGamma(double gamma)
Convenience function for computing the probe's velocity beta (w.r.t.
|
static double |
computeGammaFromBeta(double beta)
Computes the relativistic factor gamma from the current beta value
|
static double |
computeGammaFromEnergies(double W,
double Er)
Convenience function for computing the relativistic factor gamma from a
particle's kinetic energy and rest energy.
|
static double |
computeMomentumFromEnergies(double W,
double Er)
Convenience function for computing momentum from kinetic energy
|
public static double computeGammaFromBeta(double beta)
beta
- speed of probe w.r.t. the speed of lightpublic static double computeGammaFromEnergies(double W, double Er)
W
- kinetic energy of the particleEr
- rest energy of particlepublic static double computeBetaFromGamma(double gamma)
beta
- relativistic factor gammapublic static double computeBetaFromEnergies(double W, double Er)
W
- kinetic energy of the particle (eV)Er
- rest energy of particle (eV)public static double computeMomentumFromEnergies(double W, double Er)
W
- kinetic energy of the particle (eV)Er
- rest energy of particle (eV)