CTR and CSR imaging to measure particle bunch compression