Events and Spiking

Note

Inferring spikes from calcium activity is a complex problem. Whether your “spikes” represent a single discrete spike–or a multi-spike event–depends on your choice of inference algorithm, the indicator, sampling rate, imaging quality, and innumerable other factors. It follows that the term event and spike are used interchangeably in CalSciPy.

Generating Rasters

To generate a raster, utilize the generate_raster function.

Firing Rates

CalSciPy provides several small functions that abstract firing rate calculations and improve the readability of your scripts.