By this analysis, if the energy of a photon equals E in the rest frame, it equals ⁠ E ′ ′ = ( 1 − − β β ) γ γ E ⁠ in a moving frame. This result can be derived by inspection of Fig. 3-9 or by application of the Lorentz transformations, and is consistent with the analysis of Doppler effect given previously.