Role of temperature-dependent electron trapping dynamics in the optically driven nanodomain transformation in a PbTiO3/SrTiO3 superlattice