Performance of magnetically compressed O-type electron beams emitted from nonshielded cathodes