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.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8535e26da30eb2a05d19c192b701f97705fd909d3ec96f805f0f46e1b15fa7cb |
|
MD5 | b4cd4d2641a4edbe6a9dcaa8bf31af9d |
|
BLAKE2b-256 | 2235ea4f68fa17b8e5fd8dae0ca0ee99799542f79e79e7998adbfd2f1db31f7a |
Hashes for ap_features-2022.3.7-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c3ccf525779ff145bc2b249cd45bb6e99950ac157faa5bea4c8d68778ca3b59 |
|
MD5 | 36b8f85f7c9d9a46244b3146e999339b |
|
BLAKE2b-256 | dd95eed91359fc48d3fa58fa7c9e0076f1243440a7082718bf19ebf2fddf6fbf |
Hashes for ap_features-2022.3.7-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd06420121a82edd532dad3dddee8f01aae1aac58054a708ee9ae7d09546cda1 |
|
MD5 | 4bc013774c33eec0fe265ea976236432 |
|
BLAKE2b-256 | 983fdc1de45552a4c724ece5fb855a8839240a4d8443385e22ecd5d5d70e4af4 |
Hashes for ap_features-2022.3.7-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013fc25538ab8f6930490b6e05e6a0ea0b17db03cf3595430daed5d86f65bb76 |
|
MD5 | cef3378b6ebd09b3cc586a36f834d75f |
|
BLAKE2b-256 | f92f02c64ad547f32a24a74a64bcc96452bddd9ade57c5f2062fc8436af17699 |
Hashes for ap_features-2022.3.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c39f1068e832666ca8c944be25a4a7640114d160dd76d5f0b0dd6619d12a32a6 |
|
MD5 | 5f8cf8e41d8efe5b52250a3cb51ed754 |
|
BLAKE2b-256 | f81b42814545ab3a3e375566e371cfbb2542588efdb46bcd7c2575664b9768f6 |
Hashes for ap_features-2022.3.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b22c1643008f2d43e419639fb0603d613393cf10ca2fd3e992640f99f11a7bf8 |
|
MD5 | 78e85f40d877e0a646afa8b7585e1e43 |
|
BLAKE2b-256 | 80e2c13694c5e04846961f6a483f76122c304d84df99443adaa27548c3b7fdd0 |
Hashes for ap_features-2022.3.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62439045f40d144816d04932dd907430fd62fb632df87abdaf5045b94d1eb65a |
|
MD5 | 34e9a3d6974e183af05ecb151fd124a8 |
|
BLAKE2b-256 | 35e1985e8f806da47b9d01496e03271a8fd948e29e9fecb3873c9a364c8141e2 |
Hashes for ap_features-2022.3.7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146d1bb20acbd513e789082932b88435f62042c4240f51e6ba6f628804eb0ec6 |
|
MD5 | 20e6d411537c413f5f6c219328431e9e |
|
BLAKE2b-256 | 294c38640998318398faf184cd01de126bf8d0d8cb9280b788050693ccb36262 |
Hashes for ap_features-2022.3.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbdaf978ddf4f09b2ef18d5e3c1bf50750cce8d934606f8ed9e7f3b9bdae8f26 |
|
MD5 | 9d8b4a3f1baeea1a75d7222babb05f10 |
|
BLAKE2b-256 | 1596c3d8e5f686e2f77b03a8784aa761043a4c8b69e1ec8da21c72677f9d1a9c |
Hashes for ap_features-2022.3.7-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f9c6cf3a4ce4c0e217f00668a5555a5caa34b61ea9e2d3a44f698d9a6ba96ae |
|
MD5 | ad8a41c3067ac62207abe4129a5809b3 |
|
BLAKE2b-256 | a24b5be4082a0bbe53bc65e3cc1a4f223277219e0f8233c804689f9d79969c1a |
Hashes for ap_features-2022.3.7-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed14f787e5616a15753fdbc2d83d784ccdb6d1ada42934064bd92cd4c3a20053 |
|
MD5 | 12cbe2351ab0e0f47c019f5468340908 |
|
BLAKE2b-256 | d23c984f39a6ce37176a1a38dc2abe0589101b288295e7a6e66bce9c2b3b531f |
Hashes for ap_features-2022.3.7-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d712bf257d0a4b3bec19021810c7c87ceb26f94358cc8083181ca0737fefd21d |
|
MD5 | bad4dfe13502f7d0beca80acd176cac9 |
|
BLAKE2b-256 | 9732df6cb69159f746d500ef1911c431c254a73f43409e9f3161b30220355951 |
Hashes for ap_features-2022.3.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68c76744e7ea8044ae82219c96109b030c9203d5524ad3fe8a18952c0041e0e4 |
|
MD5 | 888b44fe6a1be5d2321438c98d7387a6 |
|
BLAKE2b-256 | cda656bf86231f9d6c71f80733dfb2ecf114be70c798db3b8ace820f75a504e2 |
Hashes for ap_features-2022.3.7-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b3739f5cd755cefe4bbec25973ef63a78b1ef201f0a2962af5abcd8f30b5a7 |
|
MD5 | 6db9e738ca8963cb9e496a2a4bb4535d |
|
BLAKE2b-256 | 2b237bb9b5d3e2aec5f3ab6f7b4d90ea0787ed2764e49ccb2bc8657724db94af |
Hashes for ap_features-2022.3.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c96057814ddbfe6bf37705b80765ffd6ae1f2bf867b712a939ca338b7f05dd |
|
MD5 | d0d5601697b7aac86c2d2193153dbe3f |
|
BLAKE2b-256 | 812c013b9614a22977b6bc3615672c01e20bee60ff13fb4265ff580495efdc13 |
Hashes for ap_features-2022.3.7-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fff4201fc9dc0945acebafebb0071be17f447dea00e9f8d2c0fddf49603b1a52 |
|
MD5 | 623b67a27a981129eb8165218dae8ccd |
|
BLAKE2b-256 | f6b133bb772e4ca22fdddd7c5a9c6eaa4fd703d91a02f3275665417ffa9e77e1 |
Hashes for ap_features-2022.3.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0631d117355237643c492a77b667fb902569ce086044bff6d00678175cba4555 |
|
MD5 | 2c3b08e5d50a0f6572adcd2858c831dd |
|
BLAKE2b-256 | 4e97165d9f5eca61287960462bd284afd455be8aa00fecfb84d916825dbcce91 |
Hashes for ap_features-2022.3.7-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f53a19559c7ac020dc5315b2581c5aa2ffb38f98e03bc5b73c7c4e3f2a58fb86 |
|
MD5 | 6386bbd782c43f7f7a32f7f59d0c5abf |
|
BLAKE2b-256 | 9bd0a2dab733d9997abb6ce58ad8f1b21edcb9c57fb8782ca43950b31402d3b9 |
Hashes for ap_features-2022.3.7-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799cc04d1fcc6428d34fe043088eed42d943c2c811cddcafc88e4e06334a1090 |
|
MD5 | 45b39b462cb1631ae064659f7fe1d523 |
|
BLAKE2b-256 | ecec827c7ef60c8ca969b6264b6b3ca67300144cd727ea00a37e54523ef79045 |
Hashes for ap_features-2022.3.7-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8bde0cbc42cdf8db564192ac2c63de19d25cecc59e02ff92cc47593da64836e |
|
MD5 | 0d7bece72e8df9080a7032d1a347759a |
|
BLAKE2b-256 | 890818e4d39d6d29446c6e981b0db0b51a39838d29c6882519951a570e6e58d2 |
Hashes for ap_features-2022.3.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898a6f918416867f6d26eae30a2bd844c891a1cc4c91d2d6131b173a053c0c73 |
|
MD5 | c67521712942a509ef57d4a57f65e50b |
|
BLAKE2b-256 | 046828f03e7274392a0d764d7c258861ffc3a1a1a71adb810e69a50517f1cca4 |
Hashes for ap_features-2022.3.7-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f402b62e1ab407a90e26955df0b8374decce1e43e396eebd3c0583a64d1280 |
|
MD5 | b85475ae06c0928a4d45fecd4b6a1d3b |
|
BLAKE2b-256 | 8498163e59e1f6a60a8951485c70ba3da915f86335ba51647552034fbeeb381c |
Hashes for ap_features-2022.3.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b60d18dc436508eebebee9638b236d3f3bf24cf4bc466653ed366374fc9457d |
|
MD5 | f4d1149a9efba9f5748369ef15264efb |
|
BLAKE2b-256 | c4af03181f8f9d4832d3c9639e73d21edddd6cf932a34ec016fbe94e7d446d3f |
Hashes for ap_features-2022.3.7-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe56462f6830ba89f2d86d9dc2d56d0e0d954d61aac9cdc50b4e77b46086decb |
|
MD5 | cff092fd522f84285e161c9121880b67 |
|
BLAKE2b-256 | 81e5d9ed863fc5704c9745cf7533cb519215494cf91983cd1a107b5a0d987ab8 |
Hashes for ap_features-2022.3.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc3275b48a927a723698286bb9a7eb7113307fc142391dc118e3a15ab0558a2 |
|
MD5 | b5ff9e056be663cdf865bd6da48516f8 |
|
BLAKE2b-256 | 734f2acfb45a0ae4ecd9d57b637da921f843c8862008447d33d9ebab14ca7cdd |
Hashes for ap_features-2022.3.7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9960f4686d583ef5c87f748f5b908215fd6f3c5f0be29b784dbdf17b9ad49ff9 |
|
MD5 | dfca5815a5b8c2d0be8ec7e8091d436e |
|
BLAKE2b-256 | 8c4618076e2b06222000f753141b70ede732e03714782fa3f4a4b2dbb16a6e5a |
Hashes for ap_features-2022.3.7-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbfafe929833fabb1c971cbf6100c7f67ae13b15c4d52fca54f9cf93aec2a607 |
|
MD5 | 5965412070be40e4463000621030ecc5 |
|
BLAKE2b-256 | d5d9883ba5f139a968971038e00d046d55612c9898dc5dd24316c0d853e92078 |
Hashes for ap_features-2022.3.7-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff275a11d44a75725ac3492c5736ee490aa07c8fcb3dddff85539064de5b71c1 |
|
MD5 | d46e1e672ab640771a31589d1df7302b |
|
BLAKE2b-256 | a94b25e7535604d543cc00b81ecdc66699eb7cd2d58f2d02ba8be41898fbe218 |
Hashes for ap_features-2022.3.7-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f16868d1854ee362e161a3bed995c80a0784dc47b211415532a9e54c28851b0 |
|
MD5 | 4bc4f6941a35895bc52ffadcfc6ca504 |
|
BLAKE2b-256 | 07ab2dfd681b82de7248c6524d24cfd63b3e707b53dd02dc73ce58f588d2d510 |
Hashes for ap_features-2022.3.7-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41dd6379ba21c76ccef8a339d1fe9df2ef1605054c791242bfd1cf04ca7b0a62 |
|
MD5 | 098ad0b17f37d55fecacc2de072aa871 |
|
BLAKE2b-256 | 05ff93735bf94fcd0ff3731e7a0cb483876276c95df0903d87d289c4acef88ee |
Hashes for ap_features-2022.3.7-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49da3b4ef79628220a6296592b8deb5a4e28581df5f72e4a1cbb75f26df93d01 |
|
MD5 | 7f9915da5aff570ba52dd1d5b8437878 |
|
BLAKE2b-256 | 4c5af408d9aa6af33373e42245204bc4673a1dc4654ca2fc531f9545e74560ea |