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.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd7fef225c43b5b4f908e8c57329fa4a2231caf839c8d722f54e60f96fca66e |
|
MD5 | 15a1f89bf9bdb55709d35e26e72a01c5 |
|
BLAKE2b-256 | e88ea6cfd6f4db6113b5d99a32d66c8859780b1a78468560894ee910c0db4e57 |
Hashes for ap_features-2022.3.2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3534cb04e4ecf9aad5843aed0db60b45124d15686409b3373dc5a47124c90b9 |
|
MD5 | abf964452b89ba3cffdf8607638e13f1 |
|
BLAKE2b-256 | dc49114818ce26749fc331c318c00a6bd580f1af4f52cac089f7b6025d5faef2 |
Hashes for ap_features-2022.3.2-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1de31eff6a62fc42ded31105cf941ba45808f95ead8c8433eadd1939e25607b1 |
|
MD5 | f82d1edf4ee2823a1d3d5ba2e6613998 |
|
BLAKE2b-256 | f53036a8727a04dfa74add3b1329e6e48a29c3e6e869d395a50a9bfb8ab10772 |
Hashes for ap_features-2022.3.2-cp39-cp39-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e05d28db0ac9d223c0075c17bc5b089d2684e6f91027bb01600e168c30f5ac |
|
MD5 | ed91d478c0b287271285a3549245b825 |
|
BLAKE2b-256 | bc00e0684c4ce3ed30dda8dcb83b4674774ae0eb4bb9c9710ab89ad8f0e5d79c |
Hashes for ap_features-2022.3.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3569e00d1ff00e9970c9fbab3fccfc1e310dbeb904a6551aca0d05c94a34e30 |
|
MD5 | 89e92af40a388d1f7f71cd7a548188eb |
|
BLAKE2b-256 | 164e8999504ed3c9644dcbbf046601b3dd863d1df5fbff6634efaa1ccaec3579 |
Hashes for ap_features-2022.3.2-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5becba29fa3ce7f9d7f39b3f5576c6bad5ebc4647f18bb615456ea02c8778f5 |
|
MD5 | 9ae69393be035f21213832c04d70fd0c |
|
BLAKE2b-256 | d3b2e50f43305c68fbf9b1b8bd8637bf265aa7364c851a0c4ee3ac5c884adbc7 |
Hashes for ap_features-2022.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba2983005dd8f7b43dbd45cb23f566f377a9346ff5008c0bdc4a53e7e270cd2 |
|
MD5 | 044225cfce461990ea590f47a16fa84e |
|
BLAKE2b-256 | 1b86f8e602e19bf96e251ab8f5610af6b5dbc41954daf9fbfca597c607ce0852 |
Hashes for ap_features-2022.3.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c304d045c2ce171a966d97d850dcca05937b04bcdbfafc22821da1a058265e7 |
|
MD5 | bc8edca031e5c4b9e3b060a7d9e0f2b1 |
|
BLAKE2b-256 | 51b39aade4ab6867cd687807932c583bbe9aca7b4c4d88c5a6eb24e273ef19ef |
Hashes for ap_features-2022.3.2-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9dcb3779a243cf276eb11389220698be2159252491443e5b1219fb9f113990e |
|
MD5 | 5608ac4f04d7ebf48fcba67a42564eb2 |
|
BLAKE2b-256 | 32733c8b17c962d6ac939714f1242f78868abb35873627fd9db2ff04f36df667 |
Hashes for ap_features-2022.3.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba197ea79e2d36a415c0d93ff77721d247b5107b043e51ca116531acf7dd2fce |
|
MD5 | 25c99576c182500eed838642c763fa2c |
|
BLAKE2b-256 | 02ef6c016150119d07174646ec330548f538934b15699c760221eea8bbfb9a78 |
Hashes for ap_features-2022.3.2-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca060dc745780faf02dd88bee82c37e3b53b78bb9e90e1cf52a50ef6c9ad0e66 |
|
MD5 | 14eb7409a04a68d7e8e7a7bc25da14a4 |
|
BLAKE2b-256 | ec0a94eac6fdd2c862b78b1af3ba4e85e326823b51802c2649b40b92593c182d |
Hashes for ap_features-2022.3.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a968a2f0d401081423abc2524ebb6ad57c77d7181049ff7ae12714d97d0cf4c7 |
|
MD5 | d890c15c365caca416e4873033fe945d |
|
BLAKE2b-256 | 9c3830276dc3143b1fadcab9c341953bd05b3df5eb1487e560ffe9f11c8dee5c |
Hashes for ap_features-2022.3.2-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c10d1fdc78b6e48bd14554561c508d744b1efcbe32b73f919c675fb118d5d84 |
|
MD5 | 6c0047b643fada3ba0be4b3e2e116fd2 |
|
BLAKE2b-256 | 92b9f2786b4470254ae5c6cb33e8a6d9244075a943bf3de3188719a6664d6396 |
Hashes for ap_features-2022.3.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3542e9f0888575a3be1d14bd87d500a5a5dfb075ad8447e64c965a9715b09983 |
|
MD5 | e4bfb530420d7cbe048c409ea3c64652 |
|
BLAKE2b-256 | 8c5846be98008ecb72f85cc5bde5ce32db0412a10c773ffb7ef99b927aee57b1 |