pyhsmm-spiketrains Code for fitting neural spike trains with nonparametric hidden Markov and semi-Markov models built upon mattjj's PyHSMM framework.