Skip to main content

Python module that offers functions for measuring the similarity between two segmented multi-neuronal spiking activities.

Project description

# <img src=”docs/spykesim_logo/wtext/spykesim_wtext.svg” width=”320px”> [![PyPI](https://img.shields.io/pypi/v/spykesim.svg)](https://pypi.org/project/spykesim/) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Build Status](https://travis-ci.org/KeitaW/spykesim.svg?branch=master)](https://travis-ci.org/KeitaW/spykesim)

spykesim is a Python module that offers functions for measuring the similarity between two segmented multi-neuronal spiking activities.

Extended edit similarity measurement is implemented. You can find details in the following paper.

bioArxiv: https://www.biorxiv.org/content/early/2017/10/30/202655

This library is re-implementation of the algorithm. The original implementation can be found in [this repo](https://github.com/KeitaW/Chaldea).

# Supported Operating Systems This library tested on Ubuntu and MacOS.

For Windows users: Please consider to use Ubuntu via [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10).

# Installation If you do not have Python3.6 on your environment, you may use [Anaconda](https://www.anaconda.com/distribution/).

[Cython](https://github.com/cython/cython) and [Numpy](https://github.com/numpy/numpy) needs to be preinstalled as these will be used in the installation process.

If you have not installed these packages, run the following: `bash pip install numpy cython ` You can install this library via pip as well: `bash pip install spykesim ` or you may clone and build by yourself: `bash git clone https://github.com/KeitaW/spykesim.git cd spykesim python setup.py build_ext --inplace install `

## Dependencies

  • Python (>= 3.6)

  • Numpy(Needs to be preinstalled)

  • Cython(Needs to be preinstalled)

  • scipy

  • tqdm

  • h5py

# Tutorial You can find a tutorial in [doc](https://github.com/KeitaW/spykesim/blob/master/docs/tutorial.ipynb).

# Citation You can use the following bib entry to cite this work: ` @article{Watanabe:2017bla, author = {Watanabe, Keita and Haga, Tatsuya and Euston, David R and Tatsuno, Masami and Fukai, Tomoki}, title = {{Unsupervised detection of cell-assembly sequences with edit similarity score}}, year = {2017}, pages = {202655}, month = oct } `

#

This project uses the following repository as a template.

https://github.com/kennethreitz/samplemod The original LICENSE file can be found in [here](misc/original_license.md).

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

spykesim-1.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

spykesim-1.1.0-py3.7-linux-x86_64.egg (2.9 kB view details)

Uploaded Egg

File details

Details for the file spykesim-1.1.0.tar.gz.

File metadata

  • Download URL: spykesim-1.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for spykesim-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1531aa38bf859f6c2fe07796fb81ee07bec02d7b32107529fe2f31ad4e9824a8
MD5 6e89bd538f8112d5e6384905d7de78b0
BLAKE2b-256 28a5920a5a6c1b57d50227603a7b91f4116fc4d1691c2a22500da032329bb39e

See more details on using hashes here.

File details

Details for the file spykesim-1.1.0-py3.7-linux-x86_64.egg.

File metadata

  • Download URL: spykesim-1.1.0-py3.7-linux-x86_64.egg
  • Upload date:
  • Size: 2.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.2

File hashes

Hashes for spykesim-1.1.0-py3.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 3ddfb20028cdd943851e7bf0b4984c17bee1298610403c4c603c8a32b77b3186
MD5 37d6bb0eb1b99966ffddf6dd9003cdda
BLAKE2b-256 b785bb7c8e45a70a2267b4aa87322edd9241daf913dd44f0ee18688f7d13e100

See more details on using hashes here.

Supported by

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