Skip to main content

Package to compute features of traces from action potential models

Project description

image CI codecov pre-commit.ci status github pages Build and upload to PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ap_features-2022.4.1.tar.gz (450.7 kB view hashes)

Uploaded Source

Built Distributions

ap_features-2022.4.1-cp310-cp310-win_amd64.whl (58.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

ap_features-2022.4.1-cp310-cp310-win32.whl (56.5 kB view hashes)

Uploaded CPython 3.10 Windows x86

ap_features-2022.4.1-cp310-cp310-musllinux_1_1_x86_64.whl (65.0 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

ap_features-2022.4.1-cp310-cp310-musllinux_1_1_i686.whl (63.1 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

ap_features-2022.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (64.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

ap_features-2022.4.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (62.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ap_features-2022.4.1-cp310-cp310-macosx_11_0_arm64.whl (53.8 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

ap_features-2022.4.1-cp310-cp310-macosx_10_9_x86_64.whl (55.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

ap_features-2022.4.1-cp39-cp39-win_amd64.whl (58.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

ap_features-2022.4.1-cp39-cp39-win32.whl (56.5 kB view hashes)

Uploaded CPython 3.9 Windows x86

ap_features-2022.4.1-cp39-cp39-musllinux_1_1_x86_64.whl (65.0 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

ap_features-2022.4.1-cp39-cp39-musllinux_1_1_i686.whl (63.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

ap_features-2022.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (64.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

ap_features-2022.4.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (62.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ap_features-2022.4.1-cp39-cp39-macosx_11_0_arm64.whl (53.8 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

ap_features-2022.4.1-cp39-cp39-macosx_10_9_x86_64.whl (55.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

ap_features-2022.4.1-cp38-cp38-win_amd64.whl (58.4 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

ap_features-2022.4.1-cp38-cp38-win32.whl (56.5 kB view hashes)

Uploaded CPython 3.8 Windows x86

ap_features-2022.4.1-cp38-cp38-musllinux_1_1_x86_64.whl (65.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

ap_features-2022.4.1-cp38-cp38-musllinux_1_1_i686.whl (63.1 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

ap_features-2022.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (64.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

ap_features-2022.4.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (62.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ap_features-2022.4.1-cp38-cp38-macosx_11_0_arm64.whl (53.8 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

ap_features-2022.4.1-cp38-cp38-macosx_10_9_x86_64.whl (55.8 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

ap_features-2022.4.1-cp37-cp37m-win_amd64.whl (58.4 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

ap_features-2022.4.1-cp37-cp37m-win32.whl (56.5 kB view hashes)

Uploaded CPython 3.7m Windows x86

ap_features-2022.4.1-cp37-cp37m-musllinux_1_1_x86_64.whl (65.0 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

ap_features-2022.4.1-cp37-cp37m-musllinux_1_1_i686.whl (63.1 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

ap_features-2022.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (64.5 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

ap_features-2022.4.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (62.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ap_features-2022.4.1-cp37-cp37m-macosx_10_9_x86_64.whl (55.8 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page