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.8-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fca19a7b6fbaf2c5e62cd56ddd0a16e4b04c17f70d6e5d585781302ee2852f6 |
|
MD5 | c2ba2f9ec6e0b044c88de32e7241ecd3 |
|
BLAKE2b-256 | 188cc0a1336a4cf15f9430a95b70695ad09cc59dc093c5ad260e5e621f9d1bad |
Hashes for ap_features-2022.3.8-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef696d2d83328cb4998b126db42b860939291902ed31d09de463130125d16ca |
|
MD5 | 745740c281802997c45785b427236546 |
|
BLAKE2b-256 | 9afbb3137098dde349cba22f8b3148d58b26ae77222c7e9234d708b98134297e |
Hashes for ap_features-2022.3.8-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624a8d37431e4444826a728ab4cba5c9b1fa2641711e1151dcf99ddecb8344fa |
|
MD5 | f90edf30e8082aa997760a2ac6742b72 |
|
BLAKE2b-256 | e45caee67495835f8c2447ac28aebfaf0576c3dfc9c3d5be573d295635bb8a9a |
Hashes for ap_features-2022.3.8-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1305f012f8f6a33447b904cc1333aa0bc1391457438ec008d3bdbc1d6fabea37 |
|
MD5 | 1325a19cb4ecae58ac92a8b134180403 |
|
BLAKE2b-256 | a74a9bacccc9d1a434f06e905149b2b2db743319018b40af074916eb2e7d3fad |
Hashes for ap_features-2022.3.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2399b3510b2721e9c4c4e463ecc471a954083528fbadd90113fda6fbe551be |
|
MD5 | 7323983ba8e1deeef3650f19f361b536 |
|
BLAKE2b-256 | f0c2b1b99891ad20c1d8adc5d27b884088b7511e980c025aa82d12233a6806d7 |
Hashes for ap_features-2022.3.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b91ece609b090fc6748e0d8f5064d7f4a0ccaa8b3d0fc3bd2d81017757f42cc4 |
|
MD5 | 31b8c7018c09bf4eb5b34726f676a340 |
|
BLAKE2b-256 | 13bd75adfbb61d2b1df6262c23bdff102ed51483c92c2cbb4833bef368c6b73e |
Hashes for ap_features-2022.3.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e87eef5608ded126cf16b027c83cc8585d1fc2736d88aada318bb517e1c121 |
|
MD5 | fe8cc66eff8cacd9b3d679854cc02648 |
|
BLAKE2b-256 | 06fea358de82873c57ee3348050757805e905047410c4a74d52744f88737385a |
Hashes for ap_features-2022.3.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b50fd11f80ff5e7cfae52cae0aa4e650357be2097507bff9098525ca3b950a |
|
MD5 | 9e3841cef4e86d3e9e9bdc34dc616f30 |
|
BLAKE2b-256 | 5a2f5b53d003d3ab2cace3be3f6821cead4e46599a960a52f82a1006d03d8e25 |
Hashes for ap_features-2022.3.8-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ea361bc8a761ca9c3e537142330619705675b129a5d4636fcd9aaf27d26d3f9 |
|
MD5 | f88043455d5ce4ef99a52913af7fb6fa |
|
BLAKE2b-256 | 36345c0dcf9e2c6bab169f030472e9e180dfbbbe13ba2554b9cc03601bb41396 |
Hashes for ap_features-2022.3.8-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d8a10c6cfa3cf999625d68a70e50fc3c0c504dcbf0dfe2b29e5ff64b4276c53 |
|
MD5 | 03750c86398c4fd9218c6acb317f20bc |
|
BLAKE2b-256 | a689eb9a768b93f2a0c9ee881dc27869051c27b2dcaded6eb589b4092266b380 |
Hashes for ap_features-2022.3.8-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ee7a8d0a2e06d29fa0f557b0b33c0b967f45003bd6f808d8e5dbb866a7423e |
|
MD5 | 9f7bb00dd181bad0942d5c8c78e296a5 |
|
BLAKE2b-256 | 8520967cc8e384aa106a1f7692723f0496361483850daee05b7cf91cb5ad20c8 |
Hashes for ap_features-2022.3.8-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c6dace989e39c0c94df05d51cf02c66f8a8a62a958137d45ce6328f6dbf2ff |
|
MD5 | e3f95a992c4beb7415c2aca2b06368dc |
|
BLAKE2b-256 | 770a0fc2926a0393a9228c287e20d89f49c86fd60842a979cbfcf442998a011e |
Hashes for ap_features-2022.3.8-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83cee3a4bdaaaf098b770843869b6dd22b722adfebf8d61668795693af6bf1f |
|
MD5 | e0ac33a651a5c5047c0d0ba0b8de7367 |
|
BLAKE2b-256 | f0e922a6caf77b26863081341c37eddebfc391035276755ec9376498e85c762b |
Hashes for ap_features-2022.3.8-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1925addbf02bd35528f3fbf48417f33b426ae89a74faa316d6cbc3e287113b17 |
|
MD5 | 234bbfaec936b07985e488c0d9dbafdb |
|
BLAKE2b-256 | 06ef705a17d4b8141ecb97b75f353381e8ecdf18c5a8fdaec860ea46da10f325 |
Hashes for ap_features-2022.3.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6232fae5f6c1bd51f5b583854a5ceedb7b4ceab36413b301e15263137dd50bc |
|
MD5 | 190556467c56d216079a1d235a8dbd16 |
|
BLAKE2b-256 | 9ad0bdd46722df22f1cf2c8951a3e3dc9ad38ade45798a82b1b069a37fb2f8b2 |
Hashes for ap_features-2022.3.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b4d874e00f8efabafff007fdd5b9f52d37bd6361303574aba9e651ccc1edf9 |
|
MD5 | a19e7c6278d6dd89689a4d590427adbd |
|
BLAKE2b-256 | 230ce4ff960caa3115ec0d672c3b478001ac47dd9aa74efd5d56ca793de00c42 |
Hashes for ap_features-2022.3.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c653f71502126fdd31f76ad1779a5d46b6cf3079807015144c29b1dcb8b970c |
|
MD5 | ab727e4248c27323dd1b6267d0d959d5 |
|
BLAKE2b-256 | e49361d9307531514038d99628c4c8bc9ff41abc6b4724103ef11ffca9770a1e |
Hashes for ap_features-2022.3.8-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afc387164a0853b929dd76c8d6f4a58f31487a5ee3d4aec5647b72263a2d3ca4 |
|
MD5 | b1f6f3d80394aa18987d0e9616b1978d |
|
BLAKE2b-256 | c5bf7f63997ceca371ebc3f19ec63f412c900a4ce989787ec9b670cc3b33bb9a |
Hashes for ap_features-2022.3.8-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c78b07baf5c6da6879619fb258b822bd2d36f613f7cfdf1c5dd80b3c6f979ee |
|
MD5 | 2b7703249c32e46c43bbd7d45acb0e94 |
|
BLAKE2b-256 | a8931dcddfc1d9efcc506bbcbb980c88483dc2a79fb76c3f1c1d6a20e488f64b |
Hashes for ap_features-2022.3.8-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788ac2e0ee4176d9fcf2e61b9e727f568d93b5d9a9722fd16abc094c0630ac58 |
|
MD5 | 4c6a427c6521dd28efa0429f94724a34 |
|
BLAKE2b-256 | 96dcba3381ccd7d8443a31ee1589fcb59bee650d7b671676b6fcccf5ad7abcf3 |
Hashes for ap_features-2022.3.8-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a54de245178c3d7ea5f0ebbf7e31f40a8f4aed350ba40c53b56fd4d9ef387e1 |
|
MD5 | 20ed4a2d686a6cfa043bf0dade509a11 |
|
BLAKE2b-256 | c4cfd1c5f89fd44dbe5ecedad1fb8d88adb72cb3f3452f52ddbd29ede49859f5 |
Hashes for ap_features-2022.3.8-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927196d09b1b8d06e8514f372684ed1be811e47745cbac4d860420cc9b0bbe90 |
|
MD5 | c694e5c812a2223c9a383c5b64e7f129 |
|
BLAKE2b-256 | 256e269379059a74d6bad42c8222797c46d9fbef660d2245063f42699f61f8a6 |
Hashes for ap_features-2022.3.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d55f82efbb71213ccdb8aaded61efc1fd38b9cf165fef6d3878ba92e241303 |
|
MD5 | 572c569a466ceada6449c75e1cd965e9 |
|
BLAKE2b-256 | 5c816ac0aaabc9a585699b9a17520ef77b76829a971cc7f26310479cd9fbb01d |
Hashes for ap_features-2022.3.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b70545e1735f2b939b449647cf5a2943fc6b658061f419d719bcb41b980d96a0 |
|
MD5 | 24d6a8a6b1ab1fd77a1767d47be6acaa |
|
BLAKE2b-256 | 30ea9201cbe451c2cebca43d0af77ce0f2fb272309100730c255be832343e604 |
Hashes for ap_features-2022.3.8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbcf24464fcd6a03a83b76654b381f9f6af5c625a2088b9f061fd66b9b6e50e2 |
|
MD5 | f6b6d8c21c0c6a43063aed475b8e888b |
|
BLAKE2b-256 | 1165fbdc184e21d73d187a50e1c9d480bbd130cf43ac0bf0a13c394c7f4bcaf1 |
Hashes for ap_features-2022.3.8-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e42dc1e82eaa664388631fe17aa7922d696db704bd81cecff31d05c2f841fa |
|
MD5 | 82a038011238decc41b3b7966d449d60 |
|
BLAKE2b-256 | 74ddad63644ac7cc5fdc22754587aefa4f22606090466e9083dbeec312848593 |
Hashes for ap_features-2022.3.8-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4b11974ead181388eba0ad9d9ebd2292eeb83631d4e549653a74b99c05549b |
|
MD5 | d6bcab6df2765ce1818f9eaf9b3d1667 |
|
BLAKE2b-256 | 1208ad09dc679ecd6b59557ed554990052c7001fbe358020f08c8332e559b05c |
Hashes for ap_features-2022.3.8-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86fb0f22324c06f04b28235420d81e31b9c205860ac7198137ce4a7d01ec25b |
|
MD5 | 7391f8e702982f5506c410cad92f6715 |
|
BLAKE2b-256 | 6cb12354116d62dd5c5bbc5e2c248de6ade79e4c1750ddfda2c8f9bee0563e7d |
Hashes for ap_features-2022.3.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b48686be78a96861ecb435c1d57cdab13b5cda32a19ffd2c2eeea8191408405 |
|
MD5 | 10ee3a4393949e30f2936409971ee87f |
|
BLAKE2b-256 | 8bacd3b598975d9f7209f65f703c6e5a62288d5ce71561f9102d11c12cd1ec3b |
Hashes for ap_features-2022.3.8-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8887046d6a26a57077b53c1bb479b6ec4eb42c03405456db44fad13baf17b7a |
|
MD5 | 5bddaab59b64b59625d4857a318e6681 |
|
BLAKE2b-256 | 2f0ef68f64960f4d1beb2c9a9a8ad44f6b7bb7c6006e1f34d9bedf62cb5df4d5 |
Hashes for ap_features-2022.3.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8461990dfcf20c96e60d69b81ae113975a911e23c27cfc0247ad422e0c586b12 |
|
MD5 | 8d77857950524113e43dabcea95b7b24 |
|
BLAKE2b-256 | 4159da1ab5463b5af698b2d06796effec1cc9692acf52bbefc8a9c81696b18bb |