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.3.10-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f5a2dbcfa07163c03ef121a8f71419b502f9f7b413c0e46adb6cf90253b19ed |
|
MD5 | c125f29ee0b371f337e0fd9857606961 |
|
BLAKE2b-256 | 21e9f9a7f8729f3f51682fe4b2ff932c2d4bf66ecb7dc09cb0951c2fc59a1e45 |
Hashes for ap_features-2022.3.10-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9cab15eb5452304ce5a68108e613a0f1d91f53e9973ef7511512656f63f71c |
|
MD5 | 18ad47b688f2a82bdc69e6d01f445857 |
|
BLAKE2b-256 | 590b1d02663720d142876a21bec3d7bacdbb5134f2914a39d0904fa14be7b53f |
Hashes for ap_features-2022.3.10-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1091e9df9321ba26c7ced608da7c96e47607e61627157759d9bac44604da0a |
|
MD5 | 60ffc6952e67edde867c9691ba1503d9 |
|
BLAKE2b-256 | deff5c02457410507dd01a8459b33711a18ea39d7de48547485dc040e67477da |
Hashes for ap_features-2022.3.10-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aa3c7278e8fbe67c8043ee876f4b7b8e330d3c5af7459b66bd4b98509b3938c |
|
MD5 | c5cdf6939aafefa042b70bf77aa87e3b |
|
BLAKE2b-256 | 9c4b39c588164c7ded26bf2d67aa1c6576fd9695072616bd515a56ce374e1d96 |
Hashes for ap_features-2022.3.10-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43caba20b16a84ae89b481134dbbaf5a51a2ee5aa216ca562608fa7687a68c5a |
|
MD5 | eb6a082faf07bfc60de05556c3e2ba23 |
|
BLAKE2b-256 | cfa990a414a9f3c461a96e4d460c3a706d202120b9056316b866b0c18730c8db |
Hashes for ap_features-2022.3.10-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d523b1aaf6fa05f69ff9a7f9d635fad29e3c7dc47aa59dd2d56998e74e80f6f3 |
|
MD5 | 6d33bffe54cfa78d2be2874807f3a42f |
|
BLAKE2b-256 | 4893b1af63a132c78532ed255674d5b0230fceef421ae8779ef69a44eb243343 |
Hashes for ap_features-2022.3.10-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 070cba2f6810969ea9caddd1613db621df431cbc910c448837cf7f3316268a65 |
|
MD5 | 03a91fa20797a7f4ea7e67a0b3a694c3 |
|
BLAKE2b-256 | 757c89347661cbec6d1ae27a7fa708dc23820f1c0bcdbe387b44253094c847cd |
Hashes for ap_features-2022.3.10-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b78b9b377a3ea506e1da0a265947b2b45f0333d6211d2640d0f2a972381971 |
|
MD5 | 2e4fd4cea23ac6760e83b00017a9afb7 |
|
BLAKE2b-256 | 74b67b60b644684718a78f4aa469dedea9233444aeae421cbffe7942221289d1 |
Hashes for ap_features-2022.3.10-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045d76183ad1934d17d57f46ca62a866248d1ceb0f29475bf8e8642adb2009f4 |
|
MD5 | d50d5cf93cfc35c8e2ca854a4b1b8502 |
|
BLAKE2b-256 | 92565a60db11808bc9790cc30b77cf2806d18da874e962fde1b1727f258fea3c |
Hashes for ap_features-2022.3.10-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c7658cbdcd0855b1fd1f3f8aacde6f282f6618e2cc5c7b144fea13e9f1b8841 |
|
MD5 | c5d56856b56dd180a7e283d1742cda8a |
|
BLAKE2b-256 | 20219350977dfe009e2261f60bf30e9e59f009125b73372ce7d3da75673ac491 |
Hashes for ap_features-2022.3.10-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1315252f7bf202ff1bff870ab2ea6d7dbb2b0a70f56e7218f5dfabfa38f191 |
|
MD5 | 058089c5ef7f4442a00e071c9211ea38 |
|
BLAKE2b-256 | 5abf1c51246ec3b09efe40279afd7e252816fd04430831fab940bd3b5e0f9a59 |
Hashes for ap_features-2022.3.10-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8672673c4f3e5356b88483fd48c1c127d1f2ee7ca65a1c65a64ba720823cb6ab |
|
MD5 | 2c93ccd6bb42d34aaebb5510757f12b0 |
|
BLAKE2b-256 | 0f890b656ec85f128293cfc9ea8c64d6b753d30c5607a4e81ef49ad936c5f6c2 |
Hashes for ap_features-2022.3.10-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563b54edb02c0689bf0e52283b1be57c96f40b7130c024944fb7d45256a38b28 |
|
MD5 | ef8d7c05f4f46630fa02f6acc53b90ea |
|
BLAKE2b-256 | 196e089093cec9077c3600db7fcb57eab495f27fc4301f4edde7dce95b70e611 |
Hashes for ap_features-2022.3.10-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c72d8feec325a3064854143162eb9d5115a91024a79ec94dd6e7bff6ec8d4a |
|
MD5 | edd722748e5b83993d74cb87ce338923 |
|
BLAKE2b-256 | 6d9fdb41649fb8094790246c79f2e73f8410e21dfc8d126e1295df211a115b80 |
Hashes for ap_features-2022.3.10-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21dbc3b77fd7185d4418bc1ac14ca1827493638f510feb33bc14d8ffeeb9595d |
|
MD5 | 034f7dc187af2eacd663ea4226d538df |
|
BLAKE2b-256 | 5e9f4e2f6025990b9000c4be9bc697c15807d9594841658710605408b1c8e647 |
Hashes for ap_features-2022.3.10-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 182590f9fed0967cd6476841d772b8433aeef32a05acc3d8002649db1d878f55 |
|
MD5 | 75faccaac255d09e694112b9264f6fd6 |
|
BLAKE2b-256 | ecc2224fd9b20ff73d301504abb6f4a052de13e47bf2a298f34316740ff5ee49 |
Hashes for ap_features-2022.3.10-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec0044ec955b9c6511881d11d88ed78a9f762f38e533ec9904c69a20949986d |
|
MD5 | 6d21ecc82afd25759deb0344d409e331 |
|
BLAKE2b-256 | 50be551f859b80670eded92c3bf0b884c0bf87ef111ca8756eb5e98a82d663e1 |
Hashes for ap_features-2022.3.10-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2e03444ff70487dc670a00847d7da7148597118ef84c03f2c3d60b0e4a1735 |
|
MD5 | 0b783b50b224c0986fc1d27ced10c854 |
|
BLAKE2b-256 | 9091dd3d306c45002b1736cd44c88c947427f469fa22db4d98caad95f8b3b886 |
Hashes for ap_features-2022.3.10-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f7626eaf460095d54ee2c3daf58b7c6c5b518f89a3375023e7320863da260f |
|
MD5 | 4facff19716f63212949ce11f5e37d9c |
|
BLAKE2b-256 | 8b33e025b4bd94728950707a59164eab2d30c6ca04baeb5fcb303d7d184c5211 |
Hashes for ap_features-2022.3.10-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b0e7ce8ad6cd46da343328ed5e616f73dd965e7d22016ad6b532708f39dc60 |
|
MD5 | 7aacb0c5dd25fda24a71319db6210db8 |
|
BLAKE2b-256 | 8286323377e1ea22dfac5db803cd9105fd896b8201f03141647f840f44cf072f |
Hashes for ap_features-2022.3.10-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1cb735f0e0196353b0ed159f486c328e21f3abb819ee4da2eeca784ef66a83e |
|
MD5 | 4d9ee0c86e6597efb9aa62817dbc6b35 |
|
BLAKE2b-256 | 69b6dcf6e4d6abfb59b0cc1f1ab1b2ce21a7c53700e55791d7d9b40da2300248 |
Hashes for ap_features-2022.3.10-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1386035194ab3367f45ab508f0c64d4ec2b105d14ba43957ec5ccf27d5df3bb6 |
|
MD5 | 3a2df8ecbd66a298228387bb88ce9ac7 |
|
BLAKE2b-256 | 54a780d5f651670f3a412c95bbfbd8441f9a95a619bc83242e403292b72a7b5d |
Hashes for ap_features-2022.3.10-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d1ae2324dfca4d4d961c61f3ea4e2ce4f4fd877a589bdc2aa9b18c48e8b93a0 |
|
MD5 | e8fcb1442b7779ff2e5e97d5e2000d98 |
|
BLAKE2b-256 | 4a14eeb4887923894d98957ca01a945bfc5f922197b8d7413cf21c153e6079c2 |
Hashes for ap_features-2022.3.10-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc768e1012bb66b5b24a34e77df712dde57a94df11fcacb0653c56ac950c6a4e |
|
MD5 | cbc3de669ace60b599ffdd1ec80dea76 |
|
BLAKE2b-256 | 9cde962abafc3ed14bdd7ac65c2ca7668b428e077601ca721f99532eef25a9de |
Hashes for ap_features-2022.3.10-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92fb490ee92336f3d68731b8b19c37a601be15d1c0ca882d35f46fe72a123997 |
|
MD5 | 225035d312a7fbc46113d77a0605cb21 |
|
BLAKE2b-256 | 5936718ba507cb07677263a7cc517897caf5dfe0e3ff44f9fe7a1275461c94b8 |
Hashes for ap_features-2022.3.10-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa9a9f48b818ec0309f76a150e981ce0af7fe90e182c174430ef5d77beff4ba |
|
MD5 | 616c722e2bf9b64a470be3ac5a12de49 |
|
BLAKE2b-256 | 2dc22fef5e16e182c0972570f24cdc1bd9ee7c1096239578b52cf3cfb0441c87 |
Hashes for ap_features-2022.3.10-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26046b38a525e43f25ff43eb9760f5e8865f3cd77dd37eabe1660a0d65794b93 |
|
MD5 | 2e4d6b8a8d10d08c8ea0a6154d7f4c31 |
|
BLAKE2b-256 | 94db8992c75f994ccf525cce83ce83b75e1d602e735f88b1ea502b5d423d1536 |
Hashes for ap_features-2022.3.10-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b390452e7e63eea087540e19c674c09fde1c2926b4ffec7cb4f53a5422fbab6a |
|
MD5 | d7e8b1844b2e790d4677954aa3d4c3b7 |
|
BLAKE2b-256 | 9d2e2a050a198a9d4480656cc6b7cd414e719b5eb05e1677f6949cf44dbfecb1 |
Hashes for ap_features-2022.3.10-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439b7fd2f54930d7fc17f317e3ce7029bfbf452e4d61da7eecb5bc9d4da59466 |
|
MD5 | bc5cf2f946e91f2a646626e0bb950315 |
|
BLAKE2b-256 | 30f28cdc64dfa4a2ecdef2dfd5453c6d0ab350608b66252ea0e499194f043673 |
Hashes for ap_features-2022.3.10-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9d3e462f84b049d60aea2998c89275a6b078eb9bff5411c6f0af813645aa9a |
|
MD5 | 1735504ab90b425418481c22217952d7 |
|
BLAKE2b-256 | 70a7b645298ce06ac7a1869720ec5404df4efd211a1e3fb21f4920d5da9cec58 |
Hashes for ap_features-2022.3.10-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088122cc0eac8aaf661a3f7216f54841d7e96a6b47c41d86b9782f63eae86e25 |
|
MD5 | 8dc6abe0419be10a693bf867b6d04585 |
|
BLAKE2b-256 | 66ff9f3e66a3fde571d4cbdcc1085026e99502783a95bde123a36a6bdf84bc09 |