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.0.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aba3a073c6829a3413b46929ec370306985432bf3c939f953c14aea80975e340 |
|
MD5 | 9be9620a979bd853355be30e6d62762e |
|
BLAKE2b-256 | 71f4c5d381bf12889dc98f0b79f79adc3261e78468fb561ab354e54cf892a072 |
Hashes for ap_features-2023.0.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100d5758650921ae23b8b7277db64b73ef7eab7ccc91ae44d6afb26bb553a533 |
|
MD5 | f7757760479c0774ed2a904dc33e10d3 |
|
BLAKE2b-256 | f207be91110b47d012d54f5550736ebf0c49145e3c1f1a01e7bd39e63b40c8aa |
Hashes for ap_features-2023.0.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf179395ad7fe5eb0b8230ceb28de979f0fc78f8fa94d2a6d75d4501b83f145 |
|
MD5 | 22288ef6dc08f746687ace4004103263 |
|
BLAKE2b-256 | a15bc65cf1387eae55490f57524a0aa9e5fef7c0bae89956baa630729dd7294b |
Hashes for ap_features-2023.0.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbaa2d0a0c711d7832cb0c4423e4f3af777ef667bd3f27c360346d6270c45bd4 |
|
MD5 | 858e0e4b7289600c2f887b7a218c37b4 |
|
BLAKE2b-256 | 432f1c20792ab13cb88bfba678d378bd161bbe5d659c987cc9883c11024cd6c9 |
Hashes for ap_features-2023.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019e78d75ed96955b2a192f23cf912846a7dc9cbf2e3ce9fca43c31ec7368401 |
|
MD5 | fe93f33c85b804bf32b75a54b560fa07 |
|
BLAKE2b-256 | a2e05f5b5accfe1693d421c244b1b24a18aee7e51f7c0de44acbd80eecf2c464 |
Hashes for ap_features-2023.0.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b343bfcd5656750be790436660a8e26fdaac7812922d55d8a9270c01c0887dad |
|
MD5 | 0a8ca6b84a2558d7b52a3e3fee07a1e6 |
|
BLAKE2b-256 | a17ab5cd15de618b557764d9eb4aa88de36e9e18c70fa7778611ee31b50f6ac9 |
Hashes for ap_features-2023.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a474e0f9f7bd8ff37ac4f7ee1a01f9daaf2778cd60d47183a55b7415b7efa4af |
|
MD5 | e2f1879e27ba781934adb4674a3daf16 |
|
BLAKE2b-256 | 3de2649182d002ed3c2d8433312c94de512c83e106b42e64d582aa18d98c5576 |
Hashes for ap_features-2023.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aed162a9840d4867ebd1bdbf3eca49959215a5ac64ff357360e91b10bc709ad5 |
|
MD5 | f890b4e637b425ddc2a0ac9b02c58f08 |
|
BLAKE2b-256 | 1073b114348f812a2c0809fdb6266827c5d493b6e18c1b279a3d3c0e504e884b |
Hashes for ap_features-2023.0.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61c6bf535ccf21a4b97eac540589e73788820acc3d5e7571323949ab539a2c4 |
|
MD5 | 2f2bddc4170ce842004cdbcc1314aca3 |
|
BLAKE2b-256 | 0a1ce8eddbd128865d60b8a66fd2fa4006a11ecb905f4af3df2a31079f07c63e |
Hashes for ap_features-2023.0.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea2a14cd045349b5ba75bd7a78f2cc7077d6a27bfa52f45036972ac1ffecdf5d |
|
MD5 | 64065a4a4096f72bd2c5c78117159675 |
|
BLAKE2b-256 | 9d15e218dcbfc6c0a1ae1a920f32c4bfe2fb84b31af16812dfeddfce85f620a0 |
Hashes for ap_features-2023.0.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0690ad5d1a742c3c1fe1459c519f479e02e6d7e7aad4006d6667339fe7b63db7 |
|
MD5 | 4045fbafcc902db35fe61f498ea6224a |
|
BLAKE2b-256 | 7bbf4400cd1dc8ac078c8a8abc007ff9bc532ea3ed5e50de805b268fe5a1436c |
Hashes for ap_features-2023.0.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3e58baa5eb75d84386027280d360cf4f07b6efd265e91af66ea4c74e385e58f |
|
MD5 | 0dc01ae16251b29f2bc2625ee0408bac |
|
BLAKE2b-256 | 6b6e646a057ba34bf213065a6ba602e82b8f9d21cb46b27071206042e9b6b7b1 |
Hashes for ap_features-2023.0.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5beb0887923e5f43ee42da95c423cb2ce6860651a4b44e05bd1a35b9e4c714d |
|
MD5 | b9a60b44c92b3c20bbc221ee06a1448c |
|
BLAKE2b-256 | adf8874b99d4685bcd7c85aa9e9ae3ad11d1f7892f3c66717098eb7819fc7799 |
Hashes for ap_features-2023.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af49744a698c3359fa3ea480c5e0d0803cea0f105d407bf50ac23a4faa9b846c |
|
MD5 | 2f2e40fc7efeb5b5e1f4adbea276c79d |
|
BLAKE2b-256 | 14dc740ce85b634e27464e6e46a90245c5a84f6d8abef96ba682ff0b48cc4365 |
Hashes for ap_features-2023.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0bb29cf07c246d6f88235410fba927014cdf414df33832b69ac8e08b0f876b |
|
MD5 | a54c01eacbe730020e5c94fcb5c2b744 |
|
BLAKE2b-256 | aa010e6ec18b9460ee10bd0a715a9d9486fc642dc1cb7e0d06c6805e3f824b16 |
Hashes for ap_features-2023.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad573011b74812f5c4dadcc37f27a517d3a74f732cabe56d762e01c042bd1474 |
|
MD5 | 2f2ca25c44c10bbbc72f1524c0e56f61 |
|
BLAKE2b-256 | 92a12ba16352440ec13cc77ed93abdfdb81246936846155bdd7249ca619c2168 |
Hashes for ap_features-2023.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733b882df757d00c5c4077fe3590fb89c475c0956044c29e6475fe47a989acce |
|
MD5 | b37f0cf27664262816ba9aafc4bd36a7 |
|
BLAKE2b-256 | d1efa193b982201fc48c3be40b8c8ab971e3a24b124002e73e58c3c0a0fe7eaa |
Hashes for ap_features-2023.0.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224d7414610308ddf956ee3e4392a1f079abed378edbcf7d17438d0ac8af8bcb |
|
MD5 | ddad28fd128a5ea9502b9a68152a2f73 |
|
BLAKE2b-256 | d21963400aa2abe0c57d62f7ad72a669134ff33847a40d5fa09a9e3de1a9891d |
Hashes for ap_features-2023.0.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20916e82deb73e7dd2a2d1e51b3cd4b00a867c570167fe92649932b11db5cc0f |
|
MD5 | 678e251dba28c4d37816dbe9e0e9e555 |
|
BLAKE2b-256 | ad86882739d0b4afadc025d8e8ed2935c5123599923af47d17d3c34c6960bdf3 |
Hashes for ap_features-2023.0.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7706490909a6ecad44dfcedd419eefaa69257bc86554a39c59f2c413ed2b46a |
|
MD5 | 8dab2faed0f2e498d7f55316b8deb24f |
|
BLAKE2b-256 | 61718a7c4b0be3491efe53ecfa396539d73c008395e42f3ccd78a40b9f6a2979 |
Hashes for ap_features-2023.0.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 657d3c6454a3f9427550a65e2abe061d1fe5c4c9a5f40a66c68523e60e49aff8 |
|
MD5 | 474752684174df90df1fe818195fd4c1 |
|
BLAKE2b-256 | 844c2b9428e60276685102994698824f1598aec8bb536d268fef427ab22af2c9 |
Hashes for ap_features-2023.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58205feea9f23755f8f2f2174088d9eea347618f0253ade0c145f3cb1db6996f |
|
MD5 | fac17550637664b6a7211ad6a1248dba |
|
BLAKE2b-256 | 696430567a8f599d586a4b3cd506daea249f35905c735f0182218ecff08346c8 |
Hashes for ap_features-2023.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7704cba5e2c0a2606da6b786dcdb5428cd2e579c28c3078fc0b5c66e84925b1 |
|
MD5 | 9f73775fa589b7cd50888ac5daa301e7 |
|
BLAKE2b-256 | 264a641e7f182fe12aa6331809f565ea757d1985ba3bea14eb5d98ac562389b5 |
Hashes for ap_features-2023.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90592cb41bcb3bf754763a9a9fbac3c3257b58f110eddb149479b19ecf2a87cd |
|
MD5 | 19a3d186bf50d899c05887ad13edb387 |
|
BLAKE2b-256 | 2bb3b401429e5adf8630b95fbd005fcda5bf58aac86cde119013aeaed21849cf |
Hashes for ap_features-2023.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32a87ddca080a3a0fa97138dc20ef85ca4033e5d994f45ab160bb6b80b9e867 |
|
MD5 | 277c22e3ecbfaa3521f7b0c67156ccc7 |
|
BLAKE2b-256 | 9cfabc31474bc2fff1a789d5b92d7b9921d4ee05f6fe6da8a2d29cc6c15f70a2 |
Hashes for ap_features-2023.0.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2db9c59bd9c700b59fe44bb544dc35e254831aad8bc7fcb48ab3bcccf8f9e30 |
|
MD5 | 3f0c122581ccca6df9f1e898286afe88 |
|
BLAKE2b-256 | 3dbd64fce7a11505ecda046fc655e4a4f8e1b28c7537ba925b403ec1ef5f3a9b |
Hashes for ap_features-2023.0.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2ea50e37077e575d290ee493fcf0d01639723d6fa849d9697a4bb4d8439d37 |
|
MD5 | 8060c2d0e93f8caa855ad40b332038a0 |
|
BLAKE2b-256 | 6ff54dba5214af115476970cc6c90fc427163750b00ca38f536b242fb153e434 |
Hashes for ap_features-2023.0.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2016a001202ff246494c10057b7003fa4cce60c6762980fecbae9720a30ba6d |
|
MD5 | 9dcc68b61cfbfc5db9914f6f5569b2dc |
|
BLAKE2b-256 | 4a513365a778ffd90f16067fa5dc6d452413dcb14f377ad48d2c14a042804a57 |
Hashes for ap_features-2023.0.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba28363deb60e8efd12683e60009cc6e6d64ddd2c4a8729ae746015f5b45e5d |
|
MD5 | d9eb8b37bcbfac4544e79b6d808b3bbb |
|
BLAKE2b-256 | 37c26e9feae017441880ae1be0dd4711b4500299ac35651d0cc95d1246da3a21 |
Hashes for ap_features-2023.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2315e069223137bfb4f2f1443f4657cf46489fe25f5ad989bc9210c4f1873916 |
|
MD5 | 645e1df48f8280a920a791a094e8f757 |
|
BLAKE2b-256 | 0484a988040cf7ee33597a6a4329d820afa10af5f77589428861d0198357a990 |
Hashes for ap_features-2023.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ebf430b1887df926ca6588787e328f80fab942529fa7107377e085044ea1c4 |
|
MD5 | e50c5c94b8850e58dfcb7f918faa514e |
|
BLAKE2b-256 | 286f2a0849885dc5f45fffc790884029061ad80686ecea344cc785dc09b264fd |
Hashes for ap_features-2023.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec07bff6d0e5fc4d7419c0409a50a6daf2f2a216a2f4863f6831d645d30c48a1 |
|
MD5 | 4434e29bd8326d9be6bae2f300b7c8d9 |
|
BLAKE2b-256 | 29c16c9845f0b9a73724b35362b879aedcc92659fe29711c59e266a58f5036f5 |
Hashes for ap_features-2023.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e3dbb572abdf206aea21230caa16d10f2bf2b787b2e5b774270abb49e8e9e1b |
|
MD5 | e7ccac1004671f8df33f330918b29bae |
|
BLAKE2b-256 | d1330a6ef976243e7a5a5f7908b446ee03c7fac06e97d7eb76e82e6b8adc173c |
Hashes for ap_features-2023.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed1d7354f7d9bd77565e7cb0ad427f1fc153ba10f927abf96f9f13a5630bd0bb |
|
MD5 | ee887d98280ac92d5f43ecfff07d745b |
|
BLAKE2b-256 | f791014128d2a80d933f1d3719fa72de8d186f862b0684466592e7bcfe62fbf0 |
Hashes for ap_features-2023.0.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bef094c8a94583821632abc81183264fe8b2cd5cc4140c3c14e03eeca7489f4 |
|
MD5 | 278a7a93c7053d58f1d2d5f931b4a4e5 |
|
BLAKE2b-256 | 171bb69032b8653ff5b9e7eec708cf01a6610b61fa4f0d322bbba24e144f8d16 |
Hashes for ap_features-2023.0.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec2cf5f86bbcccff1e050ea5d1dc0e2da9be634b2d2082582dd8c2a2580f0feb |
|
MD5 | dd30c9d0de091d30c63aab36c913fea9 |
|
BLAKE2b-256 | 795ba40ea0d0d101ef5fa5dd9be0a7849d72ffdd7a337174ba933d9fbb05b942 |
Hashes for ap_features-2023.0.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de34515aa34e2d7bf55502be2dbe1d58a3b8919cb0c5e4c1fe8cf06d723bbe7 |
|
MD5 | 4b2ca94f14c74c41d348e591a9319084 |
|
BLAKE2b-256 | bdb13fa76a1ca10d5132490878758171f938a4579b9314172ca31b368088eeb0 |
Hashes for ap_features-2023.0.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0abb9d0b754ef877d32967a81c421a7959a6c3829347cdfdc1f9edb64e1489 |
|
MD5 | 107d94eaafde098fb8a781b4e536d1e7 |
|
BLAKE2b-256 | c08e623276045c903c0d5d659c2bbafe07707c4327f806f16ce156b9268c8e44 |
Hashes for ap_features-2023.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ceeed369dda920d2f2dc4090d97472961b9e312379aaea054e4f12c2629f1a6 |
|
MD5 | a0a94507f8aa4212c6790751f14bdb4d |
|
BLAKE2b-256 | 3bc25c75d7d426c47fffe7e9e1ca71cac79adf5dae77a3ca1cbd4cb573238737 |