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.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 944e6a9160796b36d791a8708d9864d326f1e15851805a80de0cedfa256c3049 |
|
MD5 | 53c4cf570d5cc73b5892302bfc8039c7 |
|
BLAKE2b-256 | d8614ca5edc60c9a487c596948e8a1388377270de2fca4714397bb4a1627d40e |
Hashes for ap_features-2022.3.6-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb9d0c7d8000641453138365fe48f4b1553f35cc9955f6adac0fda5bcf8dfb0 |
|
MD5 | 6d2669c633ec5cdd1c9b265e8a2c16f4 |
|
BLAKE2b-256 | 8d6bf8ea903393005185d8f9a90c88e03c2606c21ca667d021e6ba6588f1fd58 |
Hashes for ap_features-2022.3.6-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e21abe9f702b7c52f23b1eb29bc964df8ea6937397f0f420ca423c4d497e9bc |
|
MD5 | cffe7e9851344bbaaebc727c17423d16 |
|
BLAKE2b-256 | 9ca50f3b6dc25e9dd1cc0ecac9e63f23928cc63e9c5f28907cbdf8a042113e2b |
Hashes for ap_features-2022.3.6-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01fe8643b15cf5f3fdbbbd9de37387086746278ecffd43ce0a4f544f8cca7f7b |
|
MD5 | 4e2c572facce2aca2e6ea281c9ccb8e6 |
|
BLAKE2b-256 | 2d1be916f12f8c03779ed380c02c1404816f3f5126c11c7282b0523831dfdad0 |
Hashes for ap_features-2022.3.6-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d860acc61a33471a88ebea83a01cb7d4e474e46f9d66fcd62c3c0ee1e1d7fe |
|
MD5 | c5f0aa0015864d2ce7b1e02a5eb730a9 |
|
BLAKE2b-256 | cfd7e1151988c78d11d37f9ff5276b97b8bb620c596aed55c43e3847f4a40d31 |
Hashes for ap_features-2022.3.6-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db2160ae0dabc75be8d92dd505f1eb3100ae1663cc3fb7e9ca8294fa8ae37f1 |
|
MD5 | 5db309067835a658c6184e84bc1fa90e |
|
BLAKE2b-256 | d617b1bcc7812d841d8d768a11311249b457dc2121971e817d81fdaa6495a8eb |
Hashes for ap_features-2022.3.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b04e4f35ff383d29eb285cae23bbdd7f093a9fa0f80ca0f91ed4ef0e3209943d |
|
MD5 | dc7e61fd8b0aa8cd488ccd516d514fc5 |
|
BLAKE2b-256 | 7a8042f05709b40c559de7d0cea3bdb673a78c1fc8dc7d2acc53ac0f104929c6 |
Hashes for ap_features-2022.3.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37ddf2cdc38fdb4a42f684234903525d0e38efdab505443958cafb04d3cc3231 |
|
MD5 | f26c9955ef5d0b32dd886f86711c6745 |
|
BLAKE2b-256 | fb05cbcf37d366e37d75b3997463a51b2fbaecdc96679ed04570a48ce1c1e70f |
Hashes for ap_features-2022.3.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42993c54843b98c8dd508b9c47c3616b5ec62d36217eb0ba2a9d33b79a95cc3a |
|
MD5 | c10dec594d415332701bd8c2dde98471 |
|
BLAKE2b-256 | 3400ff6dcd2fd5fd3a89c7627a3ba6c2d242299f9b3de60916010769992117b7 |
Hashes for ap_features-2022.3.6-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f58d3adba5e12cc48ab8a0250a54d24f5eb6a71a2b6d0e111b5e21903fe5f3 |
|
MD5 | 53ec681568c8a3ee6de383aa120b209f |
|
BLAKE2b-256 | 988ac001d9ec4fcfd23b5d58c3cd02c1db298d43171eb07ecacb73b1b55fa2ee |
Hashes for ap_features-2022.3.6-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 757c8f69c1b08dcb97b386a1c0eebd22555954fcf55fa973852cfecb92a2064b |
|
MD5 | 1cee86b65af8031fde6299cf12410fd2 |
|
BLAKE2b-256 | 3c40a40a6ba4361d860ea55433624a99e3497d9b9e5300348fffc5d993ea1512 |
Hashes for ap_features-2022.3.6-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287e10d245d2a58a71a13cd49e3dea16b36a8c6f0a9a8595c6b77f1c180191e8 |
|
MD5 | e942828a0f3e1f67d82bded69f30ee64 |
|
BLAKE2b-256 | e65adf69d6def4daa3ded8e74e38973545ae6c7037fd31ede6ff4a4f644a29df |
Hashes for ap_features-2022.3.6-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0081e74e601d49fd4f3d6e2f2fb164b3d733628a848d5b6f4a9fbbb18744df86 |
|
MD5 | 69decefaf65272631c7ec4e9c36a6a02 |
|
BLAKE2b-256 | e1d4055451ccc31debc4ba90a6c4a13738f2c72d527cfdd05782bcbbbb5d384b |
Hashes for ap_features-2022.3.6-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13a9cac5a08ff87acc48eff4eabba7dce237d50d15261d745ed228e529dbfcc |
|
MD5 | f71f2fdfe83f1b6db71d9ad702e70d6c |
|
BLAKE2b-256 | 8d48abcc670a35175fa991268c9dc7a2484c127f77965fb12721b3208444957c |
Hashes for ap_features-2022.3.6-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dca99c8f58825479fce0c5ad52377ed485be3110c76faecfd81c9978d178cd5c |
|
MD5 | b13af8e261c06ab0c8a19112885752e4 |
|
BLAKE2b-256 | 3b31d93a5c8afa1afc26cbb1ad8c0603a07cba7e3c04a0625425697f2e7216ce |
Hashes for ap_features-2022.3.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2df5bcd1a05e953d540c5e26f64d74f93596dfd608b52a237638c97a55c5f5 |
|
MD5 | cac7246bae8ccd5639e4d3dd69be8fdc |
|
BLAKE2b-256 | 55c7b433e4ca9238885de77f84c435ba64dc620dc26b259f0d7ffde5484444af |
Hashes for ap_features-2022.3.6-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5501074a81aa1d65de224c5c95570e2517773a0be3ecd533705a2a79b56ab25f |
|
MD5 | 4a2a6bde035a473ed51c89a4e48a4b77 |
|
BLAKE2b-256 | 3379b3ea3d5b326e8b26ae77e62f50082764d997568e87ebb83ba8b5eae9f803 |
Hashes for ap_features-2022.3.6-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeff7420c7eec0c29b2f5ca6193351cd7fd275f66faeebb998f9701ab8739655 |
|
MD5 | ca13a6cea40bde2b4203ad3f6d95fc19 |
|
BLAKE2b-256 | 0d90cfdfe7be5aba15f1dd3fcff98b1a428ac2cf8f96879dfc60e689a5e6e80e |
Hashes for ap_features-2022.3.6-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716c88e813c72f2b34ad05c10b7d9a1bd134ce46c8034493e23560456affce73 |
|
MD5 | d89d4d7398de53c012672fea76c2d027 |
|
BLAKE2b-256 | 7916f8aa28ee1beacf11819a6d0d933b8cd4cc2f9148181f792bf970a33ea1be |
Hashes for ap_features-2022.3.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7c31dc8319cc7f7ea9b895f5758627752350bd16e2409271c9f665cbfea4f6 |
|
MD5 | 808680b669a45a41d0de38b02079a6e9 |
|
BLAKE2b-256 | 760845b7b7b09ecc0f9b027b6b8ca683bf0002f9d37bffc2d1799dbf2e388e2c |
Hashes for ap_features-2022.3.6-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71b3806231e05f33851b5bf22a9b04e00fb112200d642523ec57e045c20433bb |
|
MD5 | a0e1f130db6c8919c79cf966101961fe |
|
BLAKE2b-256 | de31a15b82abb97a88478418b2fb8ca7ef917caed25e56ff2a242c191d323845 |
Hashes for ap_features-2022.3.6-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d41ecc952f40b1b35e41b8003cc5b67362efb706cd91362736f9ea3f6a15692d |
|
MD5 | 9c0f34fc5fecc9c4c42114024f25fc23 |
|
BLAKE2b-256 | c16a912f11100910e22106bf90c6340efdcf5d5ddabed4b12dbfd49488fb86a4 |