The dynamical modelling of dwarf spheroidal galaxies using Gaussian-process emulation