Interactive data processing with a digital twin optimizes coordinate system alignment in 4D STEM microscopy.