Output indices of trials