code to batch HM model ensemble spiketrains