A simple algorithm for averaging spike trains.

A simple algorithm for averaging spike trains.