Locked mode thresholds on the MAST spherical tokamak