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.1.tar.gz (90.4 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.1-py3-none-any.whl (124.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spiketools-0.2.1.tar.gz
  • Upload date:
  • Size: 90.4 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.1.tar.gz
Algorithm Hash digest
SHA256 188c7a156a4b7f8483b8ed4ff56301716bf12f7cd48497a05f920bf49b4ffb01
MD5 1e1ffcfbe4415a612bf1e68cf5fa6b81
BLAKE2b-256 03b398de5f10f6b99419d3b466a99187f04353e6fa13de0c3b63de4d674e0ca0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spiketools-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 124.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ade0a08fa6bffd40e2de48736ef0c07df9da2a63878771068d1ff47fef08d216
MD5 a90d392a9528a84da08eaf114f4e3032
BLAKE2b-256 2b173b3feb38033357d90fda650cb86afff7c4e9c5c3e5ac823d13289416020f

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