Spectral structure and linear mechanisms in a rapidly distorted boundary layer