Package to compute features of traces from action potential models
Project description
Action Potential features
ap_features
is package for computing features of action potential traces. This includes chopping, background correction and feature calculations.
Parts of this library is written in C
and numba
and is therefore highly performant. This is useful if you want to do feature calculations on a large number of traces.
Install
Install the package with pip
python -m pip install ap_features
See installation instructions for more options.
Available features
The list of currently implemented features are as follows
- Action potential duration (APD)
- Corrected action potential duration (cAPD)
- Decay time (Time for the signal amplitude to go from maxium to (1 - a) * 100 % of maximum)
- Time to peak (ttp)
- Upstrok time (time from (1-a)*100 % signal amplitude to peak)
- Beating frequency
- APD up (The duration between first intersections of two APD lines)
- Maximum relative upstroke velocity
- Maximum upstroke velocity
- APD integral (integral of the signals above the APD line)
Documentation
Documentation is hosted at GitHub pages: https://computationalphysiology.github.io/ap_features/
Note that the documentation is written using jupyterbook
and contains an interactive demo
License
- Free software: GNU General Public License v3
Source Code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ap_features-2022.3.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101811a9379e9a5a56af7f16a1cc73a3801cbfe0621bd146bd9704736188f900 |
|
MD5 | cb636cadb0570eedeec67469c030b4bc |
|
BLAKE2b-256 | 0d5004859837753471dd6f2f2924c5a581dfcf99694250cd354663c16884fa1d |
Hashes for ap_features-2022.3.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea08d36b4d3cce1c3b7952ee46af443ecdbc671276051e0505ad77bf0312aa4 |
|
MD5 | 9b88e1251fabb57b26a981a85f2eda55 |
|
BLAKE2b-256 | af716492300c6164f98e0d4da36d833b31f61f1d9813f22fd1cc1dd9c103dfe4 |
Hashes for ap_features-2022.3.3-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fd757b40d84f1105c07c5905dbbfbcec89a0eff4d70d9629f3aed5d2219435e |
|
MD5 | ed142b526bcc4969cdc779c2326df2d1 |
|
BLAKE2b-256 | e892d953abd57d9ae25eeb693f110b204e3c359dfc005b7e1941e80f1d0f30b3 |
Hashes for ap_features-2022.3.3-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0046ba606877dbe5cb1c5d82a1b1d2511c67bd7337b51b993d14d29bc987ce70 |
|
MD5 | f420316b44ae834fc341bd0a957d7e39 |
|
BLAKE2b-256 | ea1eaf41d1f78e35f75bb763506f7606355e3e376ac4bad66b37387434d00b68 |
Hashes for ap_features-2022.3.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852247a2b116d64432add7be6fc6c7c4fb0b06951dd3285689543d6fd168e92f |
|
MD5 | d90bb1d64974a6a1faa8b0478d829f3a |
|
BLAKE2b-256 | 94ae39c3aadf2edafd865e2cf99151d6e0cdf248ac2093238689a49cbd129c28 |
Hashes for ap_features-2022.3.3-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c206d828edcd9ea980cc592c10c1ea68a7306920a1975a99832f49ea964472 |
|
MD5 | d41f840ec2edf322dad37833acde7a29 |
|
BLAKE2b-256 | 6f8feb00a9d881a3a7fc7129b6686193e4e896b61fa381fb309ea32fe24eb411 |
Hashes for ap_features-2022.3.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45cbb79475a9ae182f468c630399f6532cbcc822370c7c05018f18b62945140a |
|
MD5 | ee4a02d184b05bde061fc6011c165f1b |
|
BLAKE2b-256 | e2cfe6907e46d9917dc52bdb811f74a6095dd26d97f033b2fecb839c4e8b450c |
Hashes for ap_features-2022.3.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847177275aae678816a9e31ec42cea4a1164db9ba0732d7ccec400204545f51f |
|
MD5 | e3998dbe9be55b01a81547dec306cc53 |
|
BLAKE2b-256 | d6ac96328fd1d49874bd5056458cdab9e8b288470b36355d5d086f0be28c6460 |
Hashes for ap_features-2022.3.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d4142531cfe770b8d772766209255e35a3207a2841e8e2125485d54b9bb73e |
|
MD5 | 8b04266424a4aa4272f34c009e984ba8 |
|
BLAKE2b-256 | 33a7667c9624f3ba7d2b1ed77f5516f070fe7659177d09d61b0a0a217b0de97f |
Hashes for ap_features-2022.3.3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f7c7b72a9303ed1c07b1c84c69995fa9896817141c660d28a755aa89b5a2a4 |
|
MD5 | 5ade36729d10c40f7930c393310826b1 |
|
BLAKE2b-256 | cb7aadcb2c967a8358a7098f74e57ffda48d1d75d5f1e8eef2904dae349c2dee |
Hashes for ap_features-2022.3.3-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4340fac0716f777c48da46f35dab8893225c159d9a9f7b8f522c9ef8021de0a9 |
|
MD5 | d5084fdb1e894f80227bed4351111baf |
|
BLAKE2b-256 | 98d067e90b918dc0266243f55559bf7c17cbb369213ce502821c58c3b59360f2 |
Hashes for ap_features-2022.3.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca7623aecf6a003e271585f3266dcbcd634b34c44fd174af12cf62b40e02f78 |
|
MD5 | 79c407b06190aefe1581b91df7a4329b |
|
BLAKE2b-256 | 7b0fcf26860cbc45a2d27ee3eae544e3d77b6c07818262178c36cad4dfc9b4e8 |
Hashes for ap_features-2022.3.3-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18846c3c1503bf7583865806340ca9e5348a7298528678d9559ca2bd7b37b7c9 |
|
MD5 | 335f94c194437cafeac15eb297cc2512 |
|
BLAKE2b-256 | dffd99a8ac6e82e84f999653b76975de6b6a53ba6709f3710ede5281cd31a7dd |
Hashes for ap_features-2022.3.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1332f405f9bbe94f61ffb03df7597fc54334b7e682cbc781a3be443d4ae746f |
|
MD5 | 64dc84a2c42ab3d271a9898f475c28f6 |
|
BLAKE2b-256 | bc942ffd7e11a5eb74340bbf61fde17ed8c5e7a44f3501177f5c89a0811bb5fb |
Hashes for ap_features-2022.3.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f5bac52c056b5783076577b13b86f31bbdecdd5db73b0efb1fd82b7006cdef2 |
|
MD5 | de8794d4baa3f4fb692847f2f6b0eb72 |
|
BLAKE2b-256 | 847f84d541cf9338fd6e746bc1967191789f6a4157b7de1af5ad77e8870e9a5f |
Hashes for ap_features-2022.3.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd66aa63b71da37f7f6c658161b5bf20db41557a78061f0affb91616f2abba8 |
|
MD5 | 82d6ff0e33cf1212ec120c977156b06c |
|
BLAKE2b-256 | 59c12e405da471a0fff958fcfe52a2361efc2790d03f7a4331d00a9efb6d6a9a |
Hashes for ap_features-2022.3.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3c117553616b27596e7177871f68d53f598cdb6af7109e836f3b435a95f386 |
|
MD5 | f4523ae7e72cf1e4a1b0d454daf6f509 |
|
BLAKE2b-256 | 109a756c4e478a959a9c5ae637412987ead84a04062b41d7cadded15f313bbc7 |
Hashes for ap_features-2022.3.3-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6308824d18e131949484446fd17e4757ef2f31f88115e2001d47bbb4f06b603 |
|
MD5 | dd9c15c0b3260375f3488e97c4cf0bf8 |
|
BLAKE2b-256 | 65dbd5ae84cc83f16f880a4509ac43843c9a24b309aaf55f52a3069d9bc143b4 |
Hashes for ap_features-2022.3.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f9f4aaa095487c21be82ddfb378a06e3cb94e59084b247121c4e3636255171 |
|
MD5 | e65f3178e8658245c140bae68658f9c0 |
|
BLAKE2b-256 | 99a026936a97793516e34a294790e0efa3d1dc5a2aa4748a56238cd78e5d0d33 |
Hashes for ap_features-2022.3.3-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6bf740ad103ba28ed90ed7530de83765481e374e16caffbcf05ecb165e487a |
|
MD5 | 4516a0f0d886c9e9b54f350f94888786 |
|
BLAKE2b-256 | 7004fcae584987c92956c7af551f1d532485a49166bd40f1e503c1f70676c421 |
Hashes for ap_features-2022.3.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feceac8c2a9b4e21a6ee73c9d9d507ec294b685390e9dab1ca4e243a4fbb7127 |
|
MD5 | 4e59bf1aae1a5d664855490d961fe7f0 |
|
BLAKE2b-256 | 10c734f5513bd2e4dfc99385528abcb59e405401b2e39eba71c32e1b0fc853a6 |