C++ implementations of several types of spike train metrics