Skip to main content

Copyright (c) 2019 Keita Watanabe

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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.

https://www.frontiersin.org/articles/10.3389/fninf.2019.00039

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.7 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.7)

  • 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:2019eq, author = {Watanabe, Keita and Haga, Tatsuya and Tatsuno, Masami and Euston, David R and Fukai, Tomoki}, title = {{Unsupervised Detection of Cell-Assembly Sequences by Similarity-Based Clustering}}, journal = {Frontiers in Neuroinformatics}, year = {2019}, volume = {13}, month = may } ` #

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).

Platform: UNKNOWN

Release files for spykesim 1.2.0

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

Source distribution (sdist)

Source distribution for spykesim 1.2.0
File Size Uploaded
spykesim-1.2.0.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spykesim 1.2.0
File Interpreter ABI Platform
spykesim-1.2.0-py3.7-macosx-10.7-x86_64.egg Legacy Egg format - - Details

Total release size: 19.2 kB

Release files / spykesim-1.2.0.tar.gz

Download URL spykesim-1.2.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
27b15be90b43ee2068e75df895b696e990376a2992c7ea573b9eeea7cdb3f891
BLAKE2b-256 checksum
How to use checksums
fff30e78be6d3c33f0bd78d6f09c459867c9ee9cd5db54f1658dff50194f5ad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / spykesim-1.2.0-py3.7-macosx-10.7-x86_64.egg

Download URL spykesim-1.2.0-py3.7-macosx-10.7-x86_64.egg
Size 2.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
62e665e92753b5d56c20cd66b176b123b58b849cc01a48cfaf8652f688a747d2
BLAKE2b-256 checksum
How to use checksums
c0cbb02fc2eab9a52bb8fa220d4118c5dd71d160b6ac220ded150f8e6f134e69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

This release

1.2.0 This release

2 release files

1.1.10

3 release files

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

2 release files

1.0.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

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