Ongoing activity in the optic tectum is correlated on a trial-by-trial basis with the pupil dilation response.