pttools.bubble.relativity
Functions for calculating quantities from Einstein’s special theory of relativity
Functions
- pttools.bubble.relativity.gamma(v)
Lorentz gamma, \(\gamma = (1 - v^2)^{-\frac{1}{2}}\).
- pttools.bubble.relativity.gamma2(v)
Square of Lorentz gamma, \(\gamma^2 = \frac{1}{1 - v^2}\).
- pttools.bubble.relativity.lorentz(xi, v)
Lorentz transformation of fluid speed \(v\) between moving frame and plasma frame:
\[\mu = \frac{\xi - v}{1 - v\xi}\]. Hindmarsh et al., 2021 eq. 7.32 This function is its own inverse:\[v = \frac{\xi - \mu}{1 - \mu\xi}\]. However, be careful with the signs.