Skip to main content

Module for analyzing spiking data.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spiketools-0.2.2.tar.gz (90.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spiketools-0.2.2-py3-none-any.whl (125.0 kB view details)

Uploaded Python 3

File details

Details for the file spiketools-0.2.2.tar.gz.

File metadata

  • Download URL: spiketools-0.2.2.tar.gz
  • Upload date:
  • Size: 90.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for spiketools-0.2.2.tar.gz
Algorithm Hash digest
SHA256 965938db5cf0e5b6a0883460a6e1c7ccf36a9acb51a989a649ac814e5d218081
MD5 a77d47cdf6ab76661e6698114f1e692a
BLAKE2b-256 0923d278dadfc6cdcf78ce084914cdde5a42aeb7d184880cb22bfad631af0083

See more details on using hashes here.

File details

Details for the file spiketools-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: spiketools-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 125.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for spiketools-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37a6ee08675a420f426c3cae3b44f346df8fad299034ba08b44b22260896d4ff
MD5 cb8afcc57705e791de16796d3b2634cd
BLAKE2b-256 fcf50a738011ab0b14e50779da9684da61357757ca740f9585426ff5f4b60ef6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page