Ca2Spike
Deconvolve calcium imaging data to spikes. A wrapper around Chenkov and McColgan so it’s easier to use their model and weights. Assuming you have a imageJ roi measurement csv file, and a known sample_rate of your two photon recording:
import numpy as np
from ca2spike import deconvolve
calcium_data = np.genfromtxt(file_path, delimiter=',')[1:, 1::4].T
spike_data, timestamps, new_sample_rate = deconvolve(data, sample_rate)
Here the new sample rate is just a rounded int, coz otherwise your analysis experience will suck.
Metadata
Release files for ca2spike 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ca2spike-0.1.3.tar.gz | 107.7 kB | Without provenance | Details for ca2spike-0.1.3.tar.gz |
Release files / ca2spike-0.1.3.tar.gz
| Download URL | ca2spike-0.1.3.tar.gz |
|---|---|
| Size | 107.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9875e4eff9f4556559f480e9b0bdb1904bee0ad991c0acd912b2e9d6daca0b15
|
|
BLAKE2b-256 checksum How to use checksums |
c241cbf77db3fc2dd26e129ca9a6e3142f90cbc94221a5e5ce5260032cc3801d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ca2spike 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.