WIP ENH: Add event histogram example

I have some failing tests, not yet ready for review.
data = np.sum(data.astype(int) == 512, axis=0)

is not enough?