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.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 254af675236241f8f3eb16ab3745a898a1a3082bd3294b73b3d88521b546b0fd |
|
MD5 | d02469e8cfe3720486562328a7b86d2b |
|
BLAKE2b-256 | 10e52272a11d1b5eae9b9868ae83b7ca389650e869e9b4bc080b956ab9945d8f |
Hashes for ap_features-2022.4.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9715ecf1d8fb97a48f691f4c34a585a110b035ab35994fac44e8457215946b8 |
|
MD5 | 364b53d1a587d75ddb4a338f1f23ea37 |
|
BLAKE2b-256 | 1d2fe3aa10f2b6afe28754c0c390505fbcbf8c1d99004cc8bfe9ee4567f89b11 |
Hashes for ap_features-2022.4.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df2796c03d756169171669f71194021cf5fd0492c7834679e0caa16a3564405 |
|
MD5 | 4ca2e9f6f214e1dd15b9637468be2a31 |
|
BLAKE2b-256 | a122b280c374ea4f070b6085f7c912b5f0457d114113713c203d5102f4fbdf6f |
Hashes for ap_features-2022.4.1-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f57f1512278c74c60c23cec36bb72c61473cd1284178ec300949da943bc1e0e3 |
|
MD5 | a11a4ba421186f45a600aee9bab22081 |
|
BLAKE2b-256 | 63b918beb352120b128c8137fb89c37de1baf8318c104e8d81e2c36e8cc7e078 |
Hashes for ap_features-2022.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff857ba4c6b639a5ca88003bdbc332a41c092ab512884bd012a1a9663d7c76bd |
|
MD5 | bac28b3e278c478854bbc20bb63fbbe9 |
|
BLAKE2b-256 | ea01c3f32e1224b5c3681b79578d0d54e18fb9b0c3215dcb3c30ed9007def833 |
Hashes for ap_features-2022.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b26e59dc3b2595461aea1dfbae21c45222adbc913ee63753d94adacf1331bf2 |
|
MD5 | 7c64d1dd8a9dcf17648917f11b43be49 |
|
BLAKE2b-256 | e2dcbdbb26c82722a5fbb83ac9c7d61c4f8a9c8efcc887d13e514e5f445fd84f |
Hashes for ap_features-2022.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7574bfe1b71e711e298cf7b97679b7bb4f9678b3b24482b6c1741aa944d2298d |
|
MD5 | e0715abd1513f73868c0c2655b10ac90 |
|
BLAKE2b-256 | 58ab4b094f3cbdc92a5d2649b13cbcf04425bc3e7b124815033672fb8a618d71 |
Hashes for ap_features-2022.4.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c6d477f00edca99540211c28bbea0bc8e1905bdc44b55b9a53bfce3657322d |
|
MD5 | 9b54a9a4d87475930ffde07414ea11ea |
|
BLAKE2b-256 | 76afd754eee0c86dea62120654ab173c8559c205d9d0d200fa63939ce8bd10bf |
Hashes for ap_features-2022.4.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8362908814ee47b4835df23d8d35b29749a70024a5f6e068d58d4ff2add42b34 |
|
MD5 | ec56a28879c3bff4a3546ef0f30512fb |
|
BLAKE2b-256 | cbc052cf75c7de06db0637491f258a5285ceed5481f3ba61c485d335243cabcc |
Hashes for ap_features-2022.4.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0fbadf08c3c3fd770303b80bc408e2aaa9f0de132a8de4b027bfc1ede111a7 |
|
MD5 | 732eae1c77e425ebe599361046cc4b38 |
|
BLAKE2b-256 | 9e4dd40c2b0286840ffa63f069f2dcbb933d2fe68f07eaa4896f992fdc2f84f3 |
Hashes for ap_features-2022.4.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adddbd906b71c8715ab735e6d6bec49ceebfd3ea6aa3291f7f8efa7baca62db |
|
MD5 | 38a205872d0c571df56523fd9da2e67c |
|
BLAKE2b-256 | 37081f03f3e31cd7c6b303a8db13ebaac412ed5634f52fb786ad71969db90389 |
Hashes for ap_features-2022.4.1-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddba0ec1c53cc1818a1364242e665a17a60aa2493e1e8ff3dc15df7d95a6321e |
|
MD5 | 4b44bb99386cd5aed4394468444268e7 |
|
BLAKE2b-256 | aa5c509dd42f6565d569b1c96e3612070ff1fa2cf277f7e9bfad62cfbd60d3c1 |
Hashes for ap_features-2022.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bea0c0dbabb8d27072ae9b4d5fb4852bdd5997df29eeedb74f2a1dc2ab05d8c |
|
MD5 | 2a901f59f7f7b61ae38aedde21b2a343 |
|
BLAKE2b-256 | 5dc8722253e23a86c5cae8c9498da2ca2dee772e431ff345d81ef3fe0b15b404 |
Hashes for ap_features-2022.4.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85ad0cc7b12d034a7b7cfa2a17205c3b0ffcd228dcb150c9bc54082565f005e |
|
MD5 | 9b985e4e29925dda9c57cd550a96fbe2 |
|
BLAKE2b-256 | 2d0e779412b7294df64f876a58e8dd57f8d511ed19e1c01166162b89562a03fc |
Hashes for ap_features-2022.4.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf131a566b321b33ac72857c1200dace2f78c3d51ad90b4a9c593101b30bdb7 |
|
MD5 | f5be12596a64652afbe4655315b43f87 |
|
BLAKE2b-256 | 10168b8f6df071869e23840f14945a9d6b55d97095883b8867a30b9dc12789aa |
Hashes for ap_features-2022.4.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a128ba83ffb822f969088378ca85317003a1a8bd0a3fc4e380594127a027b13d |
|
MD5 | ca1abcc11b13f9523df84b858aab43ef |
|
BLAKE2b-256 | 1c9a12b7a36cf3fc8afc99054cfc1e07a03642c2a13d379d96a6445e84c7b655 |
Hashes for ap_features-2022.4.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f92e0d4b098f6f5ef637bb82600e2c70ab8c7cb6c0a123a8c42d84eb4cd5609a |
|
MD5 | 78c5075a6ece501d78733751ea8fa435 |
|
BLAKE2b-256 | 32a0da4e6f26a52b8106fc19bb843926fdc00e8c74828450c5eb1ce9cb931775 |
Hashes for ap_features-2022.4.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d6e22f9401e3544ad15f0f0987e72e1a29de71e002a13a70a2664bfa40d557b |
|
MD5 | 8ec70f3013e8f7965cce8fbbfda2f554 |
|
BLAKE2b-256 | cd61348b712af7e69762caf7e7c0313383d034ca47e94345f3b5ae0b364a1bbd |
Hashes for ap_features-2022.4.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b93905397a9dbe1005833371698be8b352794f5a723f5fe7f4a43e32e5d4d657 |
|
MD5 | 22caa896cd5ba8a565e25b9377a9be33 |
|
BLAKE2b-256 | 417aced4e04ae8a313c1f276637f98b1661753abce37d2ed1bb6e931ff34cabc |
Hashes for ap_features-2022.4.1-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b7e4ce16081eb644ecb5cf093e09f5e70a7b6164466ab20ccb0986b550c44dd |
|
MD5 | c80be373bfe3a7cf6fd255ef708b9504 |
|
BLAKE2b-256 | 0d603b7a2eb3450177ac8b6e8226a00eac7fc9a7771d6f49c90009037f473d4d |
Hashes for ap_features-2022.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65ec3563113b0cc602055c4aef42cc97b2abab3c7e7934367407b8f62d2504f1 |
|
MD5 | cb96f6266a6699b68d983d65d8779329 |
|
BLAKE2b-256 | cb6ec9f6b5c744b0906a620451619e88b278b68608c859953ff3979728a9c64c |
Hashes for ap_features-2022.4.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c47008f8da9ff59f3e16cefdf7e08239c4b67a1ec9e3ce4af91fcfb25de88bea |
|
MD5 | ede9b3716dc067ef0f98baeec43faaf7 |
|
BLAKE2b-256 | 0aab08cb2a36c39f21bccb48c94e0982991fba825345fe37f94ad4e573aea9ce |
Hashes for ap_features-2022.4.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05c445423028689997b335d04b1bf7b06b2c9315dd3d541c0b2dacc15601701 |
|
MD5 | d13fd591ac6f93e237636903e95fb8bb |
|
BLAKE2b-256 | 199a49df5babd9bd72495509c413d45e1505192a0259d2f2e7cdc22cfb0b6c5e |
Hashes for ap_features-2022.4.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7598f8ce884e32ef5a9b96ed2921313afa4feb217900f4fffba759954024b27 |
|
MD5 | 6a765cdaaa71c292e1bdad5912bbe093 |
|
BLAKE2b-256 | bd3a7e67bc5359ef926fb59fe832aa346d583eeed0bc5bf67e38a5594b9e326c |
Hashes for ap_features-2022.4.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d25040855a1060302d7caa6764c967f09490b0a23928d494bdd5a87b8a66664 |
|
MD5 | 6ddf007227b6ecd2816f6ee6b9830271 |
|
BLAKE2b-256 | 8c7f01234677d9b940079fabf97e9722a731e06358c6e948f60539f41c35a035 |
Hashes for ap_features-2022.4.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b694800b35976834e381e4db0aedac9e30a6c3e4365302a36ebc78166d7eb09a |
|
MD5 | 261eaa91d3472fa59086f0b1935312c3 |
|
BLAKE2b-256 | fed90718727c5cbd2f51b57b234ee791eccc13b4720f45033cf6ad076e2f8e75 |
Hashes for ap_features-2022.4.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27849f4261a28e89d21514fd5969fff894e4103be66a0713a86c9173bb59f15 |
|
MD5 | 7f15d7bf6ee3fe94c16d70bb02edf4e3 |
|
BLAKE2b-256 | dbdf9572281a3c1f854430d86772f4642d81705df13a758b449136a98dacd690 |
Hashes for ap_features-2022.4.1-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72578089ec84536f442e66ca9aa7eb9dc588b17f4fe3796ef2fe86150286190 |
|
MD5 | 8696da8def3bd180a0122fb476027bc6 |
|
BLAKE2b-256 | 48bf812472c9ca6ce7beb9cf50660f329b1ffc9fd6b0ca7156e55f17921687fb |
Hashes for ap_features-2022.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594337bc0a172e52cffacd785efd151a1bc910c1a433e575fc0e047572b5c02a |
|
MD5 | 95c8426dc6954f275c505151eed7eadb |
|
BLAKE2b-256 | e6a79114331f1b45df7379d901070d6415a3b94308515752959a9a5033e5f9a8 |
Hashes for ap_features-2022.4.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272a408492c97c29e220fedd8c386018b0c37abdc597b2d807096fb6ac4418d8 |
|
MD5 | a463b8de449ac6bdca541b123330dd1d |
|
BLAKE2b-256 | 1a38b1b52c117fed6d1e11d052a8d5b262ccc8dbcb73dca55e93c6b39899dada |
Hashes for ap_features-2022.4.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0437b4928cfb1fa27e2e6aa28c4ef2b1b908de5072bcdd14f5f7dde0dc5de8f |
|
MD5 | d5eae82571fc0b3da8e9d5c6b789d0c2 |
|
BLAKE2b-256 | a1f9f9cd13a34f8dc245f01ece88a843d767dd65e4ed4c4a6101bc7ce1e8c049 |