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 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


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.0.0.tar.gz (1.0 MB view hashes)

Uploaded Source

Built Distribution

ap_features-2022.0.0-cp38-cp38-macosx_10_9_x86_64.whl (46.6 kB view hashes)

Uploaded CPython 3.8 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