ca2spike-0.1.3
توضیحات
convert calcium trace to spikes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ca2spike-0.1.3 |
| نام | ca2spike |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Keji Li |
| ایمیل نویسنده | user@keji.li |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ca2spike/ |
| مجوز | - |
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:
.. code:: python
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.
نحوه نصب
نصب پکیج whl ca2spike-0.1.3:
pip install ca2spike-0.1.3.whl
نصب پکیج tar.gz ca2spike-0.1.3:
pip install ca2spike-0.1.3.tar.gz