Time-frequency analysis of the Dirac equation