Preliminary study of gun emittance correction