How to mesure the beam emittance/divergence thanks to a butterfly study