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.5.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dbde07d293e256cb03cec48d4e5e990973bb17dd0d8f741860f48fb2aefa5ba |
|
MD5 | 866a2e9f1f4a1d516bc93bfa1f8ff675 |
|
BLAKE2b-256 | 9dfad20c6fe305f2298a9ff08fd498acc1c50d084444a6e144633be1f7a057da |
Hashes for ap_features-2022.5.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd9be1d0d74008fd3e0d9d9031bc6e110f9794cb15ed920ccea59d727ade6f1 |
|
MD5 | 168a76d437c4d4e4463c207ec796a27c |
|
BLAKE2b-256 | c33308627f49671e9034c39e4a78ebf0c84ff5bb9c64e078298c36c99fd49e01 |
Hashes for ap_features-2022.5.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83803c49a8616328e926de4faa9b89b702721dd59af661faf213e79e4c9fcefa |
|
MD5 | 5c465cbf93a96456c298c2fa24c59c46 |
|
BLAKE2b-256 | a2833f36fa50387ff41a893d8b53fb61a8988681ef18da1ceb4a9f2efb29a717 |
Hashes for ap_features-2022.5.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91a256920df5e8781d1505aa774c422eec65cf1442e0acb9fde5b7492959953 |
|
MD5 | bf8de7e54be6710d0550d7639f0b96d5 |
|
BLAKE2b-256 | cc8f670e840fedd675e10bee527600f961a5b9daa6c1605be4769c4b14206eac |
Hashes for ap_features-2022.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409e8ca0b2580a3527dc55a1d4b14eac8c3278213e49597dd35d37d3269a9f41 |
|
MD5 | f99f6bae9a70628a26713f58f2cfe136 |
|
BLAKE2b-256 | f77a65b13b395c95538540f0909ac18d67c57cdf436c5bf47992f32756ee6b23 |
Hashes for ap_features-2022.5.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0df7f6c6fb9a959318823681b9d91528f67f6f9c45513b0f63c20cd40b3809 |
|
MD5 | 5cc2fe53d7625a97363ee211fbaaa5f9 |
|
BLAKE2b-256 | b9cd8f2e33d5adbd5d6763157579d21d4af84ebc36eb03bd4893b9f8bae2843f |
Hashes for ap_features-2022.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0c5789a72a609980db12df044e3d22b05c624325235fb1fdb5d1b96e2536e19 |
|
MD5 | d713ee2c9ba87cc17e055523be7cfdbd |
|
BLAKE2b-256 | 90d837562e921519aa84de9a9e855bef91bf1c26f8986f7718d09d1d673b544c |
Hashes for ap_features-2022.5.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb54ee26add4f8443f439cd8021d0b21d059f29135dff5efc5d7696764d02d6d |
|
MD5 | 591cb21e2c9d1c58d74a271e835f37ce |
|
BLAKE2b-256 | 1cf908981225d77533f4fad5794c987d476824c7d9639817a26d2a511dbfceec |
Hashes for ap_features-2022.5.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 981274b4e0039431dd4ff3bf6d8038145996ca4ac1fa04900a6e9054f1d7d963 |
|
MD5 | 9e4e1f53269927384ad15e17d225a9e7 |
|
BLAKE2b-256 | 606285fda7e067024c334b51f9669150d615666ffe0d151e1f5a5da87c8bc42a |
Hashes for ap_features-2022.5.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd737f010761314d5f2923124c37686f33494e315db778c46b750bdd00526ff |
|
MD5 | 05ebb66a83d623ebce26acca3b57602e |
|
BLAKE2b-256 | ae63f32ae9de16754ff465fd26de88e232aa533f3549dfc80b15e7b376e22316 |
Hashes for ap_features-2022.5.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562855a1dcf83acedc158e44b6ccf0c588045e3c46e768da5028303c03232f87 |
|
MD5 | b6b8e8ebd4758feec02dfb0979b6d65f |
|
BLAKE2b-256 | 1d1703da9ee5891b6b8304669be24291cbc921948889026b52543c9b00721aa8 |
Hashes for ap_features-2022.5.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca073ce8903c9c0e731173ff254ef0c429a6e05de2a66a5251c4726bd6f98ea8 |
|
MD5 | fd186f05c0ba6d9888eacce26a00856d |
|
BLAKE2b-256 | 0957a7cbdc1da6bb49ae04248712f4842cc550b8d490eb8cd8f3640e649f7e5a |
Hashes for ap_features-2022.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b57dfde767368c8503983a3a04311693bf008cc1af3d93bd5bcf297e2528526 |
|
MD5 | bb6a974e493d4e15895c2163c5ba8a9f |
|
BLAKE2b-256 | 082378bf373ce497e31e658e7ffd837940a4e49a29785fba92d8ab340ff1aadb |
Hashes for ap_features-2022.5.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620cbf0a3744ba3a7401b1cce43916d1d4b910ee99350f7a6e857fde180166c3 |
|
MD5 | ec544481357c237c00c63eb1bc31708b |
|
BLAKE2b-256 | ee97998b9f1b1187e046ccffe14460128378e2e8607a4a59a2d0b8b5dfa2cac7 |
Hashes for ap_features-2022.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71dac934799e0daac0c3205371e42279ab83871b351de4e75e64799060cfb761 |
|
MD5 | cc08a2c1b819c925c3bae1dbf0c882cd |
|
BLAKE2b-256 | 0ffd5ddd9b9ea02f759d5f1f7fe2d1f2395aa16d0c120b018a0b49f9ccb0989c |
Hashes for ap_features-2022.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b985cc7f79555ea69ea19037af22e217efad1697dbf5ec4cccded7c43fc2e1f3 |
|
MD5 | 940eac5b6bb4b8d2ff5e68ba232d30f3 |
|
BLAKE2b-256 | a406e7c41bcdb4141a52123f7a8f132857fee29e9912ba1b1f4df238c06b8a2f |
Hashes for ap_features-2022.5.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd2a9711a1c35729a6e474ebcc98e6c535ebe2277fbbf2d98b15dd2dd1a898e |
|
MD5 | 4c79e207f654c7f9928f29a21c60c3b6 |
|
BLAKE2b-256 | fd4b64208ceeca9d9c772ac398eb21c4c67339220934cca6ec8d754476f837fa |
Hashes for ap_features-2022.5.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71419ba97ef0aff12f54bc196df34f4effd2b92d1048ad58397e91840f7f76e3 |
|
MD5 | c7cae21fc284a90efad934a1279b2a35 |
|
BLAKE2b-256 | a887961eab5ca7eb58e4b22cc62f76cc3405e1b9289b984a84e5694091112d44 |
Hashes for ap_features-2022.5.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925127b845e01b54be8604f88eea43d09625d21a6cc56db0a92ebbde2c372d29 |
|
MD5 | 529ee072127b710671f830c9160da193 |
|
BLAKE2b-256 | bcd97e4ffcc71ba48d44d36c1bd84f47b3bc9ab9db0070702f8eca671e14c8d7 |
Hashes for ap_features-2022.5.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4832d9f5b257abc4f7300920697756a8c8628005ccb7807970ad9bc300a43c |
|
MD5 | e18821263d1c94115ea3801169c89211 |
|
BLAKE2b-256 | 36de2ccea6223206d2203da4d2e2b8054dbf0c75496548439860117168085dca |
Hashes for ap_features-2022.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca3d8c129b8410939c24f05ab749a04949669a21ee629baa94cca8d67bebf62 |
|
MD5 | 34c969527e68b44570ed6a6d19dd7a20 |
|
BLAKE2b-256 | c38b7df7c5a8ad2b712bc9683d4106246ba39450612d646d14b2e8c48c915351 |
Hashes for ap_features-2022.5.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba446f64d4f05b8fc9b41a444f3b9088557c83ce7abdd8d6b9fc77c81a29b96 |
|
MD5 | e5f3eca006ca3ed4f62451e882ef38ea |
|
BLAKE2b-256 | 7942b1f2fb42129db6c19c91909dc42fd00d5e9b98f89d245ac263806952c411 |
Hashes for ap_features-2022.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624e8aa065facb036f9adea4aed2c42b6298d988ae8e3026dd9565e0963bdd9f |
|
MD5 | bd5c8e8aeceb926324afc21a89fdebdc |
|
BLAKE2b-256 | d9ec543d41e9eb61e487095ab3cfde9a4b8f9aa71a5bef0e538436d06f19bfee |
Hashes for ap_features-2022.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5b7649afd41500a40992dc3f9691f77410b3121983cda98d9f44b6c7f24311 |
|
MD5 | dcca7db08d8d3ccba86c893b6c1fd2cf |
|
BLAKE2b-256 | 786a93089adf49edc441669fc8dc43e9b8bc18e1f8ea042e4e5f729556901afd |
Hashes for ap_features-2022.5.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7fd036812dbc2b955744ee706ce0f66ba8d0c7b11b649c0e0c25020948210dc |
|
MD5 | 1f2acfc275e1c548747a1a71ef9dfaed |
|
BLAKE2b-256 | 2d02e2f72eb399e1bbbb5746eb993e363b7d769b68ddf12d16115108b1968ff4 |
Hashes for ap_features-2022.5.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ac1f20f2c2f985bd0312c88dd3e98297383866b406419e0629ec3d3e902ed9 |
|
MD5 | 170b897a52fb621bcd02353ace798039 |
|
BLAKE2b-256 | 30eabf3ef90483d45d37e9478936abe41f4cb0b5da9583a900854aeead2e7cb1 |
Hashes for ap_features-2022.5.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cda42785c914a7e8b66c0335919228abb270f46eebbe75981cb39b955b7639d2 |
|
MD5 | 36ce8700a6878e786e9938d2d91a93be |
|
BLAKE2b-256 | 3629053b30fbd39085af94cc922e82b91e55f4e640d8a35ee7f7f09b8efb7c03 |
Hashes for ap_features-2022.5.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623e2e85d2f48241dba0c953d832bf93cfa696d9b97ad15a7c0aa3830ee89fa3 |
|
MD5 | aa4a15e0a1eeea5184d53a46174855fa |
|
BLAKE2b-256 | fa4cbe8c3d2ec5e8510fdd8573a1ba28b3b5874e1244ba47a37f3ff8435da32a |
Hashes for ap_features-2022.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c5e9bb5fd31727ff9822550c0f2e0fb618d67f245481cd0cf086691d144f8c |
|
MD5 | 7df7fb9e989e19c5544d3a3c2feb9750 |
|
BLAKE2b-256 | 83c16a9886cb53742a9eb14d92255767f89aaea214665e9a464d455bcdc3f7d8 |
Hashes for ap_features-2022.5.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cb2d7b9df8bc82a9d66ac448c85362abae4b7eeb2e4c110b8093e4904bb0bce |
|
MD5 | a33ce0aeb8675d22f0484df7b75cd3f3 |
|
BLAKE2b-256 | 24ea5fe773f0bf1a38e243dbcaf6d3601b03c5572284a1d12edf221c4e48fd50 |
Hashes for ap_features-2022.5.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285a4d2bacf678449d52df838775680532cd87694b06460f08fa4f87200bfea9 |
|
MD5 | 299eab833508f85a86a37eaaa25d7d7e |
|
BLAKE2b-256 | 03d47881c1f1c4de985e065784de16fabcae7ee820dd6671ea27450314649862 |
Hashes for ap_features-2022.5.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be2edd93de50aef7cb0d87823639e160e3b88d3f854a72405257b730664c03a |
|
MD5 | e87eed6de3c757ff1d873d6574e81407 |
|
BLAKE2b-256 | f6e518badeaab67522db832ce9d3b7dc2f140dbc42b60dc126a0dc7e30d4cc00 |
Hashes for ap_features-2022.5.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e54d1525ca6cb789b04dc4386d740a6b7c8bfdd97747ed66d0710a84db8ef3ba |
|
MD5 | 8a62ee42f2376512abfc4e7458a3939e |
|
BLAKE2b-256 | 34c62fc158942a3c5cb19f0f6f49a50fb0bd47a998f5d7be5bfac3f63c2e8e30 |
Hashes for ap_features-2022.5.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0cc8099919ac2d2438cdf4aa3d8342876dd844be99f294bd683bc3a53e6ce9f |
|
MD5 | 95fdf235c42ac3b9d861e255ebd11bc2 |
|
BLAKE2b-256 | ab9c10dbbad4e3ad8938e3c86e2c4b8b25bd20b64b843d2a0a1cfc1cac0e8401 |
Hashes for ap_features-2022.5.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ea975eb19316ae0266b4db9a4764adfed2b0db800b800773db6219a25b76c0d |
|
MD5 | 64605ee1df050ade74af07881be175bc |
|
BLAKE2b-256 | 2140eec7d99452c1a98c43f0a80c7dbb146668f0556f985f3c97e28f7eddf92c |
Hashes for ap_features-2022.5.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf7c82465ebc3a1324fedbb5391ab52377b81b3cafbe34a7659943221f2f9cf3 |
|
MD5 | bc531d0a51042a806480858717a8ca84 |
|
BLAKE2b-256 | a74bb19a23a886265bd1331d1fa7a31b1bdd19a890292b86116f08db24cd51e0 |
Hashes for ap_features-2022.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300487b9b0b8e94fa92ccfbb2d13e5306c442e6b87912fab84486bdca034215f |
|
MD5 | d30fadf1776791ff3f7f8ce17b5d3710 |
|
BLAKE2b-256 | 3eb0600af95ed656d1c1ab538ddbd82fd88b4a598b6ec4dd07cabb3568278637 |
Hashes for ap_features-2022.5.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c74d1d1a479b679f7055565258345003b89aa02cbde607c1ac82f2ba50a6b636 |
|
MD5 | bb0a3118f1332d278c806a0cf3a181a3 |
|
BLAKE2b-256 | ba8d47c3eca1f913de4b015e754da3dc042e8763ad0d3909303956053be2a022 |
Hashes for ap_features-2022.5.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89f391ac578faa74a57ee5547b13d54b2ec4a2380518bc19e70d2aa377efb7de |
|
MD5 | ed8226e37a0339dfe99d0aa9b16d0a6b |
|
BLAKE2b-256 | ccc5ab5d3a2b45a410dfbeb8212cf1f34d3dada85fae0db4f4429b45e1d18580 |