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-2022.4.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5571d003e6e750d8643a895c5666efda4b7281285d354a0579893144582f695d |
|
MD5 | 7b9b52b9b67f2bea3189bc7acb395c99 |
|
BLAKE2b-256 | 9bf3d4ad67d41a4554088dc02104918b884da0fb85863822f01cca799b051af0 |
Hashes for ap_features-2022.4.2-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3b1c18fc7378ba68489e5cf179f594559efb294cec8a254447cc34f1d990b5 |
|
MD5 | ed9d59ec40a66e187552ddd8ed0a9e53 |
|
BLAKE2b-256 | f3f9e13a8fb73a9cbfcee77d13fa467ee20e4314090520c3d5a628a7103f0f30 |
Hashes for ap_features-2022.4.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321a6a43e1ada8ed1cb4f258b2ec40886238bfddd9551026c5833d9759b6c59c |
|
MD5 | 93c23795db46019e7dbc573171a7f9f6 |
|
BLAKE2b-256 | 5374e57d836e8cdb0ac9d8401dcf9ed34c04403f182012b34acdbfb031bd439b |
Hashes for ap_features-2022.4.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574bc9c632485455617f4a4c7118cf7e88bbe7577d7d6b342f50510c6eb7c903 |
|
MD5 | 92077f9bf2af330c00ab1c872de63c39 |
|
BLAKE2b-256 | 41d5e137db7f94ff2e7fb1299504ac5b07fcd8d6e69c75b2ea5b21192b93848e |
Hashes for ap_features-2022.4.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 676e99615d648f0171ef753b2bc06af9759605c649860af3a91ebc497d516340 |
|
MD5 | 5ff7f16a660c7489b79575e6d4f86568 |
|
BLAKE2b-256 | 2db38a8879f59de1e188a10ec26136b60114b224d70925bcea7155cbf58ac611 |
Hashes for ap_features-2022.4.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f572dc8d78f582d2f576f6e27fc1b44ef51a09497559cfcc06100e729f7c0582 |
|
MD5 | 9e5a5b49bc466040aa3346b5f97b5e66 |
|
BLAKE2b-256 | 976f8d4d4e9583858693292c55d8f999666e2a0060657033bf130e5cea0e8ece |
Hashes for ap_features-2022.4.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17825a01a1d42d04ac42bdb290cdbe4394d8bf725d35bbed6ae4a8c4490eadb |
|
MD5 | 9d2a9650814934f0824664747776b2ad |
|
BLAKE2b-256 | 03e391ceb52e89dadd35cfc5aff0f468367b6ed267a940b06d6ffd54a921c480 |
Hashes for ap_features-2022.4.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9155ace636601567820c56fc1e2da61768492645e4bd786b8d3e84143c9bc4c0 |
|
MD5 | 6a124539e9f458c8230047de0f691504 |
|
BLAKE2b-256 | ef2ba4868728c11e49902a55218826b42232ba89100312937755692b63602ee0 |
Hashes for ap_features-2022.4.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d058c1ecdda0560be0043b52364723ccfd2635b5b872720fe314f6df86551b |
|
MD5 | d74e6581c877f7cf59e0671fc5922fd4 |
|
BLAKE2b-256 | 5b5f27ff40b74b1745f2f605d95d35ae340c0d7b3355dd206d61caef89607d90 |
Hashes for ap_features-2022.4.2-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785dd7ddd9daa04bde32e1225bad2b75fa9e9843ac3e8722eb4e81101cbca255 |
|
MD5 | 20dead2f263c17164a4505505a50caf0 |
|
BLAKE2b-256 | d7a77940680979a5b43c5c7e1ae7a153bcf6bd5ed096ff49ea85d817c4bc8486 |
Hashes for ap_features-2022.4.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c185ee6da5966bddd130cef55f8a786dc6856065ead129a1bc508d54f1ce25c2 |
|
MD5 | c9959fa0ac7ea9bcf1ddd420618cc476 |
|
BLAKE2b-256 | 689c3c84295d29f48c18f6cc757ae2f8e3d336a473af88004c0c847a41f7a534 |
Hashes for ap_features-2022.4.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a76d3df31d013d4e242301651dc217b66286a22b13e66010d3e0d9a137beddcd |
|
MD5 | 99849a23beccf5d52d7ef7e51cb14486 |
|
BLAKE2b-256 | 2c12f257cc87cc3dff9e65c90757b91e6c6fe9c6c4566c087c46c2618f48d5b5 |
Hashes for ap_features-2022.4.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8801efd4749833ffc5c9a430795dead4d27521b91e1515125d163db99c82c87c |
|
MD5 | a478a2f6443ae2c300ab6e60273e9760 |
|
BLAKE2b-256 | 268cea53a95a153b3314f389642b734e701cec921455ff441bdc621c7a5b6833 |
Hashes for ap_features-2022.4.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77eed7da3a229d71f4aa05e46e5b58da83c61110c8243f5a0839be173f75622 |
|
MD5 | 97893ef95e51411d758268b2636c1be0 |
|
BLAKE2b-256 | 4d782da3c108fde2cac6c30db94743a7cdf09d893d6aca1b5f7fcdaa27b1bee7 |
Hashes for ap_features-2022.4.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c07c1d3b9bce3f2f609785e456e02d152fb226c77f3acf3616b73ce35038a9 |
|
MD5 | 6d109ee922cb5d3456d1383517bea147 |
|
BLAKE2b-256 | 2cbcfb1bb5460d29065573969b5834537a045811f6ba02c15b1afb6e4a643857 |
Hashes for ap_features-2022.4.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1630ba01929b3419275fa5752dc18be30ff1d0646505852ccef93c490fe4932 |
|
MD5 | f8eca2beceb7fc55e74961080bbc61f3 |
|
BLAKE2b-256 | 2fd821be6c593be1e0d3ec16a7485f6e5594263e59e51f1d0b96159076483a93 |
Hashes for ap_features-2022.4.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7315673b282936cac437c4b779c09181e9cbaea490628d5f1ed2b0b57016de94 |
|
MD5 | 92e6dec9dfcb72bfe39a44052aef98c6 |
|
BLAKE2b-256 | 373e48902da111545cf20c6c8421bb55c6ec30ce77c573537a2a54fc1536d24c |
Hashes for ap_features-2022.4.2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34004dc60c7a2ba2e7449384a2d6734744032ecf863b0ce3612c829b2afabdc7 |
|
MD5 | 4960cde9041f31c1d7aa9088adf6f7b7 |
|
BLAKE2b-256 | bb73584d571a38d4b064964cb5f174f2792b3d859dbf8f1796c7adca4e1c66e6 |
Hashes for ap_features-2022.4.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2767204489b15524f0c2dbe6624409ec47b760881a40f966dc20e23b040ff50f |
|
MD5 | e018fe4ab7d57df25aa9aed9918b913f |
|
BLAKE2b-256 | ab7af69f2d3b62a32535bbbb31eedeebfe8fdb1e94dcc7cf036d4f7106277ab1 |
Hashes for ap_features-2022.4.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c229f506a8899f0b9e5f8c6bec9fd01d91bb9439630a5a96413f19f352db23fa |
|
MD5 | f201c4ecd223b499a1efef6f8baa87f6 |
|
BLAKE2b-256 | f79bfe694758ae99c8134d939e41e846c8afe0c04ebaaa3da5a314ddf06b3366 |
Hashes for ap_features-2022.4.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007c69f4852a38cc59d8e2d911cfe4654f64d26f9b293f20d76b32b9acf5ab8b |
|
MD5 | 0e20587c6f2645aac9bdd05500efa986 |
|
BLAKE2b-256 | 6a42d8515f84b350cf4c878991972ebd3fe7de8db0328287c22706898b428ac4 |
Hashes for ap_features-2022.4.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e046d65e8f5676e4016a2775ca395d3095db766fcbfa1dc4ab4b312eae118736 |
|
MD5 | 67e5156341eb7523b60ea131f68930a0 |
|
BLAKE2b-256 | 5d60485a6c089eb2b2c6d781ad10c9c133c3a82a017731bb0a7209a43e3253d7 |
Hashes for ap_features-2022.4.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a04836b4269eeeee5aa4e6294455b1f5988bc7163a679b87c4327a2bbf2cce2 |
|
MD5 | 22a2d48132a8055d114d40b3eabc9897 |
|
BLAKE2b-256 | da3b04e4ab44fe337f4a65aba65193ba7904c71cac7242490162b8e5bb80f02f |
Hashes for ap_features-2022.4.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b96583b5f37f4bc963fb4ba218a83f350b00209415ee91ea90571fbcedc10a |
|
MD5 | 448b9b979cc8f0d6f0b6fdda61c49b77 |
|
BLAKE2b-256 | 1a0488a86e64e514319f74907c5267fd9dc4dc4ab1b0053d7029ac04afd7750c |
Hashes for ap_features-2022.4.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd20c9733558b00fae483ee1a14378475a8e796fd630f577dbd54768269d4a6 |
|
MD5 | a3f1af8e92322db0d2cb99e9a6b82d7d |
|
BLAKE2b-256 | 6957e4759fd9c29163844b0f1d688fa9ba38700b6a377ad122bda3efd24b2303 |
Hashes for ap_features-2022.4.2-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90fa43b443d2f7952ab0c14739082d513586507c90903fdf573287200b7ebb1 |
|
MD5 | fe33c5e4d1b4fa637401857cacfb7c8a |
|
BLAKE2b-256 | f0b0216b6e9cfe24f87ed3e5168e5c2248983b7f9bb6b3bb1e5a5c62aa95d3ff |
Hashes for ap_features-2022.4.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd550d7a47e78710a43793e08f4f9d27a9e1072295606a59244b1025db19df5f |
|
MD5 | 9da07cc606b758c22d256c9a6816bc0f |
|
BLAKE2b-256 | d18f912237a4ee6a9ad1673230367938ec9d5e6c1832c0092d138c24f6696a0c |
Hashes for ap_features-2022.4.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12275aba622e4499587bfe3ec8c52067d4269c8e86ac0d7120117254d76f0c7 |
|
MD5 | b55fd61940c87457fb85d38dd9dce4b7 |
|
BLAKE2b-256 | a63dbe9d00b7b5691ec208b2962a000567cd83f847fe23b9c2f8c9ca27e142e5 |
Hashes for ap_features-2022.4.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e8ff81ac9dd3ee7b86633d1542433f6c8c32c5440253803fc9c407f9487b2a |
|
MD5 | 9c6c2432a2bf1d6fc316726f752a426c |
|
BLAKE2b-256 | 07972577f43947c977e34846754a3189c83e3de56c9ce0a5eb47e103330be96a |
Hashes for ap_features-2022.4.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6784d1cab88e9c66ce34efd385c0934a19f2c80ea0d96c7bbaff577a5c97093 |
|
MD5 | c225a4b6ee93e47c65d76eb358c14ebd |
|
BLAKE2b-256 | 21f4bd1df55e76ec5f51b0b38e3436d6bd2bbd5ecc4f36f05884e1e89275ace1 |
Hashes for ap_features-2022.4.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 313ba9e918abf7f5da5adc2b1ae19bb1b7f3a970962ac53981629f04cbabdc32 |
|
MD5 | c745a340ce1e00631d8c5af5395b4ccb |
|
BLAKE2b-256 | 67db9b5769000ba960a912d1ce8b82c5ea222e88622afca96c26a60a4d713a07 |
Hashes for ap_features-2022.4.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94cfd6427cf2373b16f71eb2eec8a0d9aa23a14e14e810fb062d5067471c2a40 |
|
MD5 | bdfb056c215241c2ab6f27aa24b20779 |
|
BLAKE2b-256 | 00fb5d91567dbf8b4a8ee0da94a6abdb8f8e19b2d4ea04f99b3bdd1fcdb467c2 |
Hashes for ap_features-2022.4.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f523128b5e9b4549c673326f5486bb9c1787ffb461146794c0b1a18941ebdbff |
|
MD5 | 16a783669742885d1084633fc15436c3 |
|
BLAKE2b-256 | 800d5f6b694790069304e70aa7eec51d0f01b117ffac1b6f9a575639f1d0792a |
Hashes for ap_features-2022.4.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb998d73da52a60bb7616bf59712c569f44d54074f43e0aa3376edc3c0c682a |
|
MD5 | 2b9a30fc38fec5dae576702c0bb4e8de |
|
BLAKE2b-256 | 682a88bbcc65b9e215da4560b10a6429650e9ce162668ff55696b1afbb590614 |
Hashes for ap_features-2022.4.2-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ecac54592bb6e11f21e27da6227cd65472f227de2f1b70b74077f02502369a1 |
|
MD5 | ab4f44790b1ece31cec18d47916f1651 |
|
BLAKE2b-256 | 2a1641641e7d39d260459426a053cb23bfea506d39383767381f427e4b838fac |
Hashes for ap_features-2022.4.2-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a469649facb13eccc5a7a4c85fabefd096b497f092e89c4f7e8c55d6ce4653e |
|
MD5 | f21cd9e64f41cc7ac197f90460c1bc97 |
|
BLAKE2b-256 | c90e8ccf8597b0c39205242eddc6f9f13ea1829c93df6169156065fda8dc969c |
Hashes for ap_features-2022.4.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71b2a6a8aec6401e73a9e31a24b55845f2a205a6d5eac84a1857de40d0d8f453 |
|
MD5 | 072caecb5961706275e4d40f15287e42 |
|
BLAKE2b-256 | 976a45e39e249a6eb431b3f225f21e7ce199b7dd0de82eb86651892471a5034f |
Hashes for ap_features-2022.4.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21c967abfe366a30f5994636c8e727e62a521f073574f9bf4b8796b44c70595 |
|
MD5 | 0b7ee1e23e85c9f649ebc3c97adfec08 |
|
BLAKE2b-256 | 2b190516ebeca29fdb3c768740c83e1df92b5edb3d64f01933013b458995e871 |
Hashes for ap_features-2022.4.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b6191296ada7f34949d39f9c59944d9cd2ee9de9501a12d9a00feb1fc56214 |
|
MD5 | 635c419d87d1600c030bc48eb3927618 |
|
BLAKE2b-256 | c0698f80131ec13bd638ec5ab4a2f5ffcd816b8dde7639b858fdde5857def938 |