code: def bin_spikes(spike_times, binsz):
      bins = np.empty((len(spike_times),), dtype=int)
      for i, stime in enumerate(spike_times):
          bins[i] = np.floor(np.around(stime/binsz, 5))
      return bins