Passive Linearization of the Magnetic Bunch Compression Using Self-Induced Fields