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 maximum to (1 - a) * 100 % of maximum)
- Time to peak (ttp)
- Upstroke 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-2023.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab0a13d2b3d30acdd2beeff3a80c0a330b73a8e00b9f9e895af8ea6d4c775f2 |
|
MD5 | 881dd6e8c61d3b9f9f8a158c657606a8 |
|
BLAKE2b-256 | 10bf64aa4d0ba92a261d8b18bf5ca3a3abf2f68b8571070adf2acaad78a68d9c |
Hashes for ap_features-2023.1.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e1e313469ccfef433260c735084e59276046e04c02e30e5424b3b6b56c189d |
|
MD5 | 6a6aa30c152326289649db9d9663bd7e |
|
BLAKE2b-256 | 49cc2c764cc49634bbdf1699c90d86c7b81ba1b45ada03d6c317f6268990e123 |
Hashes for ap_features-2023.1.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d95ce22105b3ee1125a2c5c4f2d45b8b00d1bbbd7f22f09ec9313817567c8b3 |
|
MD5 | 755d57b4106fceafb8855974149099f3 |
|
BLAKE2b-256 | 3e0ba5518cb92689fa6e4ceaa83e3d7f6fe4fba080a88318434663e94df97c5d |
Hashes for ap_features-2023.1.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0c2279319e6a0f756cd6f48ba166964fe251fec7a6c4f8d3c64191fde162a9 |
|
MD5 | c7100af265f1d172f00852ea4070cc81 |
|
BLAKE2b-256 | ed579bda4ed8992a49825f922a1ca2fc8f9f2064e927f97ec33f282e12631bb5 |
Hashes for ap_features-2023.1.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f1bb457a8c498b6e81d56c7ce3923bd135db604f932dc888fd8dbeaeab1995 |
|
MD5 | 9f94acbebb82462fea0f5f2a9b3e1314 |
|
BLAKE2b-256 | 7f89afc8bdc45123a2ca2a5dfdb317eae57a8432c33b83de313a2fcc1d5aa286 |
Hashes for ap_features-2023.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a5c8ce2956b171825dd6521ed7af46f4e0a08726a627f68022fd18c0379903 |
|
MD5 | 28ddbca3cdcc22aae7956eb088300e53 |
|
BLAKE2b-256 | 63146483083298777d2c03fe8b1cca24b6dde26fb7e5bb64c3b0ebfa3735e6dd |
Hashes for ap_features-2023.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54cf086328fd705464293181089ae7febca1675fec1a2e937e5947803a17cc2f |
|
MD5 | 322b5afd52955a04c0e57d38ae086a50 |
|
BLAKE2b-256 | 562bf230db19f96629f81cb54c58f0c950d40566620b4d74daa2804e9d2a5b8e |
Hashes for ap_features-2023.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8284af6cbe941d308b6658b51b32c7f20e5a5e71c7f0a2422ed2162a8696bdb2 |
|
MD5 | c260cfadd1642c08519d7b7c8ab4b27e |
|
BLAKE2b-256 | fe8e1b54406a4afd7cc65b59be3f940e0ff66a2c5788431342c2cee8c424cb08 |
Hashes for ap_features-2023.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0c5c0b6239ad326ff38125499582dc79d92638db4623586ed3c8f93a038987 |
|
MD5 | 27309de3e1cb2ebee618a39e787734a6 |
|
BLAKE2b-256 | e33762c07a9f884d279f58456d1b2bf208a13e11f96ef5d10e61fc1599e3971f |
Hashes for ap_features-2023.1.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e67e700f6d0bd82f965d5b8f88018a4b4ff62956ca829f660dc1167d690872 |
|
MD5 | 87193b13ae074b77a18c124ee6678964 |
|
BLAKE2b-256 | ac49d3b99ddb0b13864d9c2afc69b8117fc11e122d4e134385c7d294fa1fe545 |
Hashes for ap_features-2023.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69821de4da5a5706fb74124301e632d90afab2b68e3b690b76ac57b753fbe813 |
|
MD5 | 9681bc9aefa9fbace188c0e4359d45c4 |
|
BLAKE2b-256 | 30a5cbaa7da3884786aecb2df32a10b16a4c271446c2dbc0487d056d3e27aad2 |
Hashes for ap_features-2023.1.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8be3732c65ccbcb2caf87634c3fb18d721128ebd73fd4a53abd003067af366 |
|
MD5 | d2e5a7048094e21b0427f3c49611a570 |
|
BLAKE2b-256 | a8b75bff9df0e445851193bdc7ecc1ea411a38687604ad63f70b049c9e80fddf |
Hashes for ap_features-2023.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f7754812ec7de867cf2658927228e9378efcd7e2a0770d08934740c8e36403 |
|
MD5 | 6c329285621aae73dc84bbb432571634 |
|
BLAKE2b-256 | 69a1203f9f03e6ed0d04a7115e344191999b0efd17c66fecf4bf27f793f137ea |
Hashes for ap_features-2023.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee464ffca2ba951af7fc6c9bd7752fd5e0ea63d533854ae5753f32bddcf49f96 |
|
MD5 | 599c4211ec28ba219987bd8544bcfa57 |
|
BLAKE2b-256 | d35f6af968632f507c7ddbbc9e363ff5b0c38edcae7f8c22280189a8fcc27479 |
Hashes for ap_features-2023.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a76c138ac99b6576647f12f9b3771b8d4c3509aa956a45ab2a364138ef37cc |
|
MD5 | 2cffc90c772dac3596eb0520c2b7332c |
|
BLAKE2b-256 | 87274f4cae71f9cae2714fd61bfc75d5e5bd93785ad23abe713ca19fe2d05d21 |
Hashes for ap_features-2023.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429b2fc69cf0d76673b98b1a0ce29558bca5b710fd522769ecb3a07ef6408cd3 |
|
MD5 | a20424fa383d9510c1e474f1bdc35288 |
|
BLAKE2b-256 | b7576cb0cd44b662a9dc109face8624708a96349060dc210ff0d1a1e2f24cb9e |
Hashes for ap_features-2023.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c80c49edfcb0610dbee8d58f2c3126460d62fe762aa45c800f901bda4a9173d |
|
MD5 | 2d4c169c563f6df9e045133c9db944e1 |
|
BLAKE2b-256 | 544e5176671d1cef2e8d523275b069d1f21ad25a6851100f990a15b3d933f228 |
Hashes for ap_features-2023.1.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f840abdaf8cd703ee77b6cef2e8a81fa954d4afb6cef846e32c6baf36e87ed4 |
|
MD5 | 42b4ed2b53204c073bf7c076780a100d |
|
BLAKE2b-256 | 2d3f7b8a4b50091e5026c2b0d5bbcf89ab176ed4871146ded3554575bfebd049 |
Hashes for ap_features-2023.1.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa9be0128649c65e43bd25ddfeb9a7a9292c295e0f04cf9e7073cf4bc981c88 |
|
MD5 | ec28b71fedfc0fe7226622e68efaba30 |
|
BLAKE2b-256 | 06288a8cda4c33ddac28a43b31d9e58c024a31bd2baceac72ade7397663cca35 |
Hashes for ap_features-2023.1.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9b4e4bea1ead3997e52bdc6058ffe1657aaeb1786af81396de0a24c6cf72d1 |
|
MD5 | b2bee2945510e336087fa735a85087b3 |
|
BLAKE2b-256 | 2b144eb062b94af1836721ecd660d756b31e2bb9018d4995edaeb862ba9b69d4 |
Hashes for ap_features-2023.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a82cbfcca39a0bad4d676f7700edd15e30ba1083c8cd33477d25a94d78dd68 |
|
MD5 | 7264e8313e447a44ea3f8e6b1be82523 |
|
BLAKE2b-256 | 1d8eed24e666eac6aea3fa2ed87cfa3bcd7c9c37f1ec11bbb07c81e15a5ea1d1 |
Hashes for ap_features-2023.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89109a39edfeb5f7fe15b315df8018a1427de23ffb1b6ac31adbae3eb0af4744 |
|
MD5 | b282f701562fbd0e2e0272d015693b09 |
|
BLAKE2b-256 | 9d4ca248200cd2800d4b8d344853e70a603bb2fa67dd775498e6b680082b0dfc |
Hashes for ap_features-2023.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9869d31c169880c07836d77c9ba0e2273330e5141ecc97b96a1bb8fc6c5a74d6 |
|
MD5 | 632ac96f6398693980c1fa9a4e68880b |
|
BLAKE2b-256 | a6731a8b32cad94da546b8afc56c50f2285a84c1a579941e0d676d4aa051b98a |
Hashes for ap_features-2023.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c83462712fa84e45de3b99e8cc9f97b95abbad356e59c71fa0599d455b8f8a8 |
|
MD5 | 2f1dcbccc0f3eda46a35b3f4f7ab2e3e |
|
BLAKE2b-256 | e342aad13af74ff2ae6ceb882e437e6f3ce8e4615b56594be73ffe69feef685f |
Hashes for ap_features-2023.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b539327f905ee83057cc2fe5662eddf3347696ae91fa74f78a206e51b40144ff |
|
MD5 | 410380fc7b8b434baddc0e9f2181bca4 |
|
BLAKE2b-256 | f573a37e6c8bb7bead2ecfd0f519b0489d328d49b905225ea6693b81d4855ffe |
Hashes for ap_features-2023.1.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d2160a0aae3b12b9ce24a8234bde88fd20ead54f838458cfeee307f87178884 |
|
MD5 | e36e5ab7c7a3a3b312b5285ea355477a |
|
BLAKE2b-256 | 5a1feeba286f599357240b680a4edd936f69af2d70cdb7349f67591f5f7bdbc7 |
Hashes for ap_features-2023.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a246586fe57095f63afdd387e9a002308b0e747b82a0ff2239be35d74a4e6084 |
|
MD5 | 87ee03706a2161b215904c0afb514bc6 |
|
BLAKE2b-256 | b4aa626cd509c547811c0bec7295a3918bd06244ff0c415c004bac499734bbbc |
Hashes for ap_features-2023.1.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed731080502e4b8422ff66ceb39248ea20dda47843070dfff6699d0bccdbc1b3 |
|
MD5 | e18178b1b8cccc5a779318247f2d3dca |
|
BLAKE2b-256 | 4995f989f6e6ad4f645975c48bc9e05846aa008ca9a89c13040ed2675d37e72b |
Hashes for ap_features-2023.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bff1f9d84abaffd6eda366f25c65fbf07b3d14b4084d80992c6c89ce02ec2a56 |
|
MD5 | 49370727fddf1189fa7434211ef2788b |
|
BLAKE2b-256 | d40924e95d0dcebe823dda256fa76c79e22b79046df88f2ca4ea4fc07ac86a87 |
Hashes for ap_features-2023.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f616c192298de14b33ea3779f4aa44909434006d12df9dd84e4a118eac46d83 |
|
MD5 | 27bd9ddf245d51484d61138638eda4ca |
|
BLAKE2b-256 | 63010c72e87d4a9a6e386c1b11945fa115862702fae948e2a1056fc02d2b65b3 |
Hashes for ap_features-2023.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21a31fc592ecdd85087bb290ea7304a2749d7039bcb6010e61a7eeafc9bd840 |
|
MD5 | b985f606f04153985aeb14c94f5a92d6 |
|
BLAKE2b-256 | ac071d00ad7133db1b3e7d0edd247982bdb4728a9b109861ce74c9b22a84fff7 |
Hashes for ap_features-2023.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f99c706c3a2f67e9b13b6595ce7955c10f05e52cfc67e8b8cb2e6c9c72817e |
|
MD5 | c8eed1092ed2665e509803216ba6d9e8 |
|
BLAKE2b-256 | db8faddcc129ed86ba7a6fd470c4b6dd1fdd67eddc52393e42d772c4532665e8 |
Hashes for ap_features-2023.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b113d34552c647cc37bada317690fd708bab8c303d34944a8226a0945ac48e45 |
|
MD5 | 4c616334ab56877460787126da100c81 |
|
BLAKE2b-256 | 9165fea271d7ae18e25ad174b0fb66be025abdb9a419731c6cb8898d542b0254 |
Hashes for ap_features-2023.1.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1923375338384cb5f443a26120b5f21aa281bb8a569e483e2a0e150be57db67 |
|
MD5 | e918b9e6bd0dcdeba694de321b8ca7a2 |
|
BLAKE2b-256 | 1b89a082152affe40dae4f2a127e63aca3b27a9ab021ebbe60e77b90219e7cdd |
Hashes for ap_features-2023.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1a07f4aa35baaea27467a5476915ebf78c9db8b46569489e2b9f557e6fb6a1 |
|
MD5 | 3187a28ef8dfd39c7c4b7aa65450686a |
|
BLAKE2b-256 | 138eeb753f1b4dc413def3b9a852f6169030ed07225200ee6d0e5f612b8d621a |
Hashes for ap_features-2023.1.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2196c1f6481021fcfacb9778fc17781613425e10f47b7d1c8530473074f80607 |
|
MD5 | 925a9287fdbc849daa908df1484aeda0 |
|
BLAKE2b-256 | 387bf39e45afacd3474a6e613b25cc1ed8a05509d0a16ee31f164eb1b66d8a42 |
Hashes for ap_features-2023.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01c884e17befb93fdb158629190f51b29f36664142f9b1c154f404b3a09bc85 |
|
MD5 | 49dc75d47bd859b96da5294d81dfa854 |
|
BLAKE2b-256 | 1bb96587cc57aa8161d893a1f1a1573ea4a474bf69a35f336662cbd90f879095 |
Hashes for ap_features-2023.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d59cc08476a65d19b1f5d182e22ad067bf112cfb91723dd28297afaeee5144 |
|
MD5 | 2090f11b08c5704ba72b07af1f4472a2 |
|
BLAKE2b-256 | 7ab9c5b7a386f7054c3d7de93ebe74bfc079441990ef98850450738c70abf24b |
Hashes for ap_features-2023.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c77cc12287d146039de31a1d3ac22aca390c240027c496621ab455c840f3ef |
|
MD5 | 10b8fe42b9cc3e7048417a070edc0fed |
|
BLAKE2b-256 | 261f505a3e70650ff0ea5695634385a4f82e86a4997b30aebc14eb14fecf0a08 |