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: LGPLv2.1
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.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d95726e5f61198f8852cb2c3c1a9bb0d17ea14124c1c96592681d1d104563b5 |
|
MD5 | eeaaeece0850b3affbd6e767668284ae |
|
BLAKE2b-256 | 9105141e97b39ec773cefad144e2489a05211f2bd2ccf07d7b784abda5d84b61 |
Hashes for ap_features-2022.3.9-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc36c4fce43cf56447787ebdee7a5d182190bb88dadf3ccabac9409e9e29bafb |
|
MD5 | 0eecaed1f10f2769cd12d37d308f24db |
|
BLAKE2b-256 | 922df437cb18b9e3b3ba603f84ee7bde75772bca130a0711974d364d24e7ef5c |
Hashes for ap_features-2022.3.9-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10109550b3056cf4715c1fd20fc1e6ebddb2b0a8b5cac43dc3e3d922b7b6748a |
|
MD5 | 1990b7c7ad393b1c4c1d06222017a70e |
|
BLAKE2b-256 | f8e79bfd4240ac10285fe126570e1f14109f7fb63b7b668c28d2f76a594901ac |
Hashes for ap_features-2022.3.9-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d390259fe00a3d3386f3cdca3516a5d7ed3009a4b4a9300f548344db4460ac |
|
MD5 | a659b7f2f45799be693b0b375a609fae |
|
BLAKE2b-256 | a82c824fdced5a56a8b5d297a9ad6a2027074473be7100ad9f9b262870822129 |
Hashes for ap_features-2022.3.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c931dcecabfaa223ce272690252346d09f560650bbdcb89980273cbb7ed53945 |
|
MD5 | 805e8b3cd27fd8900017214e3131b122 |
|
BLAKE2b-256 | 5d4cc670463df981473805752992c2b4732e97827af3975c6da8dfc12a00bec9 |
Hashes for ap_features-2022.3.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86b9a582d63229b95816fed27ad2f244571c2c943c7b518e3aecc47d74b00cc |
|
MD5 | c9503b3ea2e452fd84b90f8bf65984b1 |
|
BLAKE2b-256 | 4689e13fdf1ea3ce8cfc9ebe4245ab33fa9958b94025b1de4fcb97905283e6ac |
Hashes for ap_features-2022.3.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 536335c477e9993020da34293afc06b8d4c11546e4f0f05fdb5c96c46198997b |
|
MD5 | f78a7811621296de0d6e2bf57ded46ba |
|
BLAKE2b-256 | 90012270ffc10b8160dfd7b9ac82fd88e2da0e032ea0fb61283ed9f3f12ca10d |
Hashes for ap_features-2022.3.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55014a8a77a0b49b1087daef95bc34ebcd591b6744e98c303825478eff80fb21 |
|
MD5 | 3b30e8cc5da1cce62411537d7523e8e6 |
|
BLAKE2b-256 | a0ba1d63cc2540ca8079fe82d3668c1d543df9c2a3c7efc34311b5ded87adb4e |
Hashes for ap_features-2022.3.9-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6e9d449cf7687ab40a39f2e05f68aadd47001c2b108e9c6e988d1f0af86dd2 |
|
MD5 | e635ef6c8a73e8301ff5fab7b0bce0ab |
|
BLAKE2b-256 | 0e37e37d569b621659a8a6e9895685c1dba531df12e848c015348265f927ad14 |
Hashes for ap_features-2022.3.9-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3212589fbbf36111628023e2710bde01691fa1e525d5e4610ae68f21e7389b4 |
|
MD5 | f4d387c790c7211ec7a35d2b7de0cc23 |
|
BLAKE2b-256 | f504be6a927e4a70661fec6ab20b8a996fc80770a5409f2492838d6ac48aa69c |
Hashes for ap_features-2022.3.9-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ab11c2b81c396b363f2a23d2b5028f3c24f6bd68c8cc5e1021ddd9c64a11f2 |
|
MD5 | 6bcb5e9f2107f9343ba37646c9ac01cd |
|
BLAKE2b-256 | 0fa0f4b8a47b1b17823fa644543f26726f9a6f6531e214226aa69e2f4f27c962 |
Hashes for ap_features-2022.3.9-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba7a24fc804610bb2c350961358c570ba4156b333cc083c5e4f81ff0cb3ad407 |
|
MD5 | 930694a3d688d4ff9e98ce2b38728c09 |
|
BLAKE2b-256 | da8b5f8a76b179b21eb38ec2df0da6df46ac2a28169ffe7cdc97404e124c95b7 |
Hashes for ap_features-2022.3.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de223511525659ab0e3122fbbd9f8270ac0e341d43f751a9b08becf8122db96 |
|
MD5 | 76c7f8a0a8043bc5da23cd82dc170c52 |
|
BLAKE2b-256 | af5aa0de8404ed2e5eeab81d276338bce528d90c123a87cb3a120ee742773527 |
Hashes for ap_features-2022.3.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b91b6db9c55b7cb2fa37775718d98de59a05e894d8b5b0b2ebf8c4a0cff984d |
|
MD5 | b89207ecfa408a0c5537e900c6986196 |
|
BLAKE2b-256 | 43405bb51ad1a197838716294caa806fbbb5a0e73cb1d7ad8614fa428000dfbe |
Hashes for ap_features-2022.3.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95984818cae5bc741959cafd5b3b905091ebe2001a1417d8a01fe9909e9cb05 |
|
MD5 | 84f29633dbe12bf7b2b079711ac2dd61 |
|
BLAKE2b-256 | d90e92bef512a1ae80430919e7b4d5a6f061cb660ab15f97fe0c117b937b5b86 |
Hashes for ap_features-2022.3.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97404c8d6014f2f6dc1931d0cf2d3faca673b070954350db730ffb7f26303e1 |
|
MD5 | 9ba11af406fb14fd77d67771185bc783 |
|
BLAKE2b-256 | 35162251747785637d81400d3f750bd1af7bef1f14c1781f5ffcbb7f917bdbb2 |
Hashes for ap_features-2022.3.9-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b91895590ee3f1d3af2217c1a216e74a0a612f76ab942044c0778159f764da |
|
MD5 | 5b56b6a3f33dc2551e130abffd927da4 |
|
BLAKE2b-256 | 030275dc82abe5b8ff968d7cccfa6a42c75c3e938d9eba1ccd01555a6db10a31 |
Hashes for ap_features-2022.3.9-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f59bbd4286e6806f0d566f6c5f4a564a5957a86f69d73ada9833bbe16968f8 |
|
MD5 | 285f68fc381148b2271fd6cf3042e1b3 |
|
BLAKE2b-256 | 968bd18c04e9519e146994e5a4a0f4c3f99740158ad38f75d9f8d80b53655b0d |
Hashes for ap_features-2022.3.9-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a17958ffbfdb88ca40af0639552116759d3517aeacb5bdffa98b5082565d31 |
|
MD5 | 3ccb67c3a8266b1ab91428b6ae6f5da9 |
|
BLAKE2b-256 | b7698f0e7e6e442ed6e5203ad10dcae1d874524eae920c08516862499b29de66 |
Hashes for ap_features-2022.3.9-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3285c5d3c78efc710e43f1b02f2e6437f4b434c17c40a911505e68bea4a2d50 |
|
MD5 | 71ee3670d6bb3ebd192bb87a1413b9ae |
|
BLAKE2b-256 | b6f9279e4b76f3abc1980589275586966f198cacaa73251044d0098a06afdbe9 |
Hashes for ap_features-2022.3.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4381d9bd60cc8199f35683228e815f9673b17dc8ca0f7f4273853b2a5bea6019 |
|
MD5 | 54d26c277918f2c98382b2b5be960ed0 |
|
BLAKE2b-256 | 7d7c4cebf133b4b2eae3112efb79c2779f871e2dda5ff97044e52c680b85d509 |
Hashes for ap_features-2022.3.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce08818e2f7b49918f1ba3109cb1c1f2fb859c63322e6a023040724c5622150f |
|
MD5 | 48dffc8814a33a6990fc368c44b19c7f |
|
BLAKE2b-256 | eb2e4d7cd5fb9a384c34a365eeab8b876016a1987556c4d235c9244b34a21308 |
Hashes for ap_features-2022.3.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21423339b572d256869417974a28d4b2edd83de90b1579eb152ff0a77523c716 |
|
MD5 | 47f495c0bf0c71881fe78360050a3a67 |
|
BLAKE2b-256 | bf61f718c8abdcd7f4928b688145668a482d3a0085222d5e6e9a40fc96be0d09 |
Hashes for ap_features-2022.3.9-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f24a124bcc0e0230740fc172c4aa86f73c61ea7774d578bd9599328fb9ae984 |
|
MD5 | 9f8319943dc49a5026e6b5078d8d69cb |
|
BLAKE2b-256 | ea82956c682ca21671daa0099815aa3575e96e7f1448c8c50371f11ccae8bf2d |
Hashes for ap_features-2022.3.9-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b327e6725ef63afbd1409f11886f2ea3603e93a24eeb6b4a00049521463f865 |
|
MD5 | d6d2d2002d74c87e880f8c69e1b49124 |
|
BLAKE2b-256 | af20ac35a8f1a079da7f276008ed2152952751d985375607b2cf069620637fd8 |
Hashes for ap_features-2022.3.9-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40738ac79cb0ebf3da37aace5af98ba810e3a081c7f549fad27e762d84e9cde6 |
|
MD5 | 2009632c7634d1f27a3c16a55dc9ca54 |
|
BLAKE2b-256 | e73d100860dcaa4bbfa922eecf86fcfb5fb9bc49a30a02d6cf8adbeca206c815 |
Hashes for ap_features-2022.3.9-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f6d28e2e4b5d02ddd1eee3c81dd4568ebd141c125dffb40869b86fb8584e24 |
|
MD5 | 95e39eba22145441ea2938fc10f8dd19 |
|
BLAKE2b-256 | be50d2f5d47f893a9a34fa812f1cf0fbd6ac2283ca578cbddeb15a0c38972e65 |
Hashes for ap_features-2022.3.9-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00302d5b9ab9e24588c72dfab6fb60932b6bb065d029111a07b19d8bf91e8f88 |
|
MD5 | da2007954c45a7c4d05800ae3459acb1 |
|
BLAKE2b-256 | a3dc1ceccf4358942d4224179956a7366641dad88b363274b6a24ba8b72a170f |
Hashes for ap_features-2022.3.9-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a8eb5caa9a9fd766f1a5df16f251af2a5bcb15b58b3c1f7c66be70b163b3fd |
|
MD5 | 57e31762fa7c6eebe85282c2d7cf42d9 |
|
BLAKE2b-256 | 76ac188a5b29ee69a7130f6b6a66c79d042840e91376c65c1573d85c7b1db9f2 |
Hashes for ap_features-2022.3.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d14d26c7fabe661a9bea58e43b3e56d975eab95135dbc73ca319b3f15d209c |
|
MD5 | 66d7c929eb60eb6cd9cd8396c8b53032 |
|
BLAKE2b-256 | 6f1a806c563182f5457577cd63f0e53d00b520178711a5994039d4d2339fe5a6 |
Hashes for ap_features-2022.3.9-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b7968fb4c9d44997e341507e4d7a1c70e7cea74a399b7f96e5985f311e2515 |
|
MD5 | 9c6381da5d73c03e7b9bf9bdb24913c6 |
|
BLAKE2b-256 | c28a6c85c36fdc3006a7a3943550e1f3376f20222b6c6e89b7599f124941be01 |