Analysis of wave number spectra through the terrestrial bow shock