Skip to main content

spiketools

project status version build statue coverage license python versions publication

spiketools is a collection of tools and utilities for analyzing single-neuron data.

Overview

spiketools is an open-source module for processing and analyzing single-neuron activity from neuro-electrophysiological recordings.

Available sub-modules in spiketools include:

  • measures : measures and conversions that can be applied to spiking data

  • objects : objects that can be used to manage spiking data

  • spatial : space related functionality and measures

  • stats : statistical measures for analyzing spiking data

  • sim : simulations of spiking activity and related functionality

  • plts : plotting functions for visualizing spike data and related measures

  • utils : additional utilities for working with spiking data

Scope

spiketools is currently focused on analyses of single-neuron activity.

The current scope does not include population measures, though this may be extended in the future.

Note that spiketools does not cover spike sorting. Check out spikeinterface for spike sorting.

Documentation

Documentation for spiketools is available here.

The documentation includes:

  • Tutorials: which describe and provide examples for each sub-module

  • API List: which lists and describes everything available in the module

  • Glossary: which defines key terms used in the module

If you have a question about using spiketools that doesn’t seem to be covered by the documentation, feel free to open an issue and ask!

Dependencies

spiketools is written in Python, and requires Python >= 3.7 to run.

It has the following required dependencies:

There are also optional dependencies, that offer extra functionality:

  • statsmodels is needed for some statistical measures, for example ANOVAs

  • pytest is needed to run the test suite locally

Installation

The current release version of spiketools is the 0.X.X series.

See the changelog for notes on major version releases.

Stable Release Version

To install the latest stable release, you can use pip:

$ pip install spiketools

Optionally, to include dependencies required for the stats module:

$ pip install spiketools[stats]

Development Version

To get the current development version, first clone this repository:

$ git clone https://github.com/spiketools/spiketools

To install this cloned copy, move into the directory you just cloned, and run:

$ pip install .

Editable Version

To install an editable version, download the development version as above, and run:

$ pip install -e .

Reference

If you use this code in your project, please cite:

Donoghue, T., Maesta-Pereira, S., Han C. Z., Qasim, S. E., & Jacobs, J. (2023)
spiketools: A Python package for analyzing single-unit neural activity.
Journal of Open Source Software, 8(91), 5268. DOI: 10.21105/joss.05268

Direct Link: https://doi.org/10.21105/joss.05268

For citation information, see also the citation file.

Contribute

This project welcomes and encourages contributions from the community!

To file bug reports and/or ask questions about this project, please use the Github issue tracker.

To see and get involved in discussions about the module, check out:

  • the issues board for topics relating to code updates, bugs, and fixes

  • the development page for discussion of potential major updates to the module

When interacting with this project, please use the contribution guidelines and follow the code of conduct.

Metadata

Release files for spiketools 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spiketools 0.2.2
File Size Uploaded
spiketools-0.2.2.tar.gz 90.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spiketools 0.2.2
File Interpreter ABI Platform
spiketools-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 215.6 kB

Release files / spiketools-0.2.2.tar.gz

Download URL spiketools-0.2.2.tar.gz
Size 90.6 kB
Tags Source
SHA-256 checksum
How to use checksums
965938db5cf0e5b6a0883460a6e1c7ccf36a9acb51a989a649ac814e5d218081
BLAKE2b-256 checksum
How to use checksums
0923d278dadfc6cdcf78ce084914cdde5a42aeb7d184880cb22bfad631af0083
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Release files / spiketools-0.2.2-py3-none-any.whl

Download URL spiketools-0.2.2-py3-none-any.whl
Size 125.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37a6ee08675a420f426c3cae3b44f346df8fad299034ba08b44b22260896d4ff
BLAKE2b-256 checksum
How to use checksums
fcf50a738011ab0b14e50779da9684da61357757ca740f9585426ff5f4b60ef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page