Optimizing 4D emittance measurements using the pinhole scan technique | Synapse