Manipulation and diagnosis of femtosecond relativistic electron bunch using terahertz-driven resonators | Synapse