Diurnal variation of the electron distribution in the ionospheric E-layer