Learning heterogeneous reaction kinetics from X-ray videos pixel by pixel