tweaked script
Merge branch 'master' of github.com:slinderman/nb_spiketrains