span stands for spike analysis.


span arose out of the need to do the following operations in a reasonably efficient manner:

  • Read in TDT files into NumPy arrays.
  • Group data arbitrarily for firing rate analyses, e.g., average firing rate over shanks, collapsing across channels (thanks to Pandas).
  • Perform cross-correlation analysis on the binned and thresholded spikes, again using arbitrary grouping


Naturally, because this is software, if you use it you’ll likely find a bug. If you’re so inclined please create an issue using the Github tracker and I will attempt to fix it.


See the Github issues page.

Project Versions

Table Of Contents

Previous topic

Welcome to span‘s documentation!

Next topic

Getting Started

This Page