  The investigation of input-output systems often requires a sophisticated
choice of test inputs to make best use of limited experimental time. Here we
present an iterative algorithm that continuously adjusts an ensemble of test
inputs online, subject to the data already acquired about the system under
study. The algorithm focuses the input ensemble by maximizing the mutual
information between input and output. We apply the algorithm to simulated
neurophysiological experiments and show that it serves to extract the ensemble
of stimuli that a given neural system ``expects'' as a result of its natural
history.
