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 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
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.4.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0eaa1c8422ffd329db862629655f0c7f4320aa41e3de82b41dd23abc831c6e |
|
MD5 | 5f53eadddb57b17075336625d0b9c120 |
|
BLAKE2b-256 | 4314e2847dc9b672776d93af60de430c80ca49c8584b5f9e60330bc1bfc087ec |
Hashes for ap_features-2022.4.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9c0f1ac609def8ea7e36a763bf5a92c53775e8cc2ab5c0e463f74683fe30758 |
|
MD5 | b3c2dbe32748307d250eeb73e44eb3b4 |
|
BLAKE2b-256 | 32d0394723e55c2a2774a38e81b20457c8ecfa5a6eb8f05e9ef8c051fc054eb6 |
Hashes for ap_features-2022.4.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde0cd31bfb61a59723b31465f323fa00faa2591134a1c918c9a9e212d084db0 |
|
MD5 | d6c618e3cfe60fb05ee631b579af97e2 |
|
BLAKE2b-256 | 75b1f7ca99eb69d3e1a09fdc441f96e54b65b48ac786e2a356769cf57e94b4d5 |
Hashes for ap_features-2022.4.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887dec00150a1b701f4d286832175f617980f6c0545079390c583c0b34639ee5 |
|
MD5 | 52056acbae174ff9f2a11434cd4921e8 |
|
BLAKE2b-256 | 3dceea3cfacf6ffa9b93dc969ab59548312f73c0efed4f6b55a7e51ced35427f |
Hashes for ap_features-2022.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f3f3b3ba59d5d560149e41a9f9912405be191c2f92a3e7ea609afe75e219cf |
|
MD5 | a50ff40382a697ef69bb638adf9f7b10 |
|
BLAKE2b-256 | 9d507ede67f8b6189010386506c234f72cc7e4cd10342625d7b29c1dd4af31f3 |
Hashes for ap_features-2022.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af53583e5e8dc319bd518f8b6674b9a3648f585217087b816bdb92964664abd4 |
|
MD5 | 26f8a1947ab2d6d174eb605a3f84414b |
|
BLAKE2b-256 | 9579e5988ded4ff5f705ca19d397eff1840dd3320dff3ef0ce613bb2d6ed36db |
Hashes for ap_features-2022.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9572becc3a5173e766d701452744c72695382adf4b98e7a4b2e00716f71fd4f4 |
|
MD5 | b76fb372bf4696a26b38d8b146569e2f |
|
BLAKE2b-256 | 95f45776cf11378e9c60abb4efb1851460695c28df7868ab2b7d96e2cec5d1f8 |
Hashes for ap_features-2022.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4346596b2cd4e15bd240bb40087deaacdec06d863a05d99ff6cf5abf01a20d35 |
|
MD5 | 031f774001e589cc3858391e6b442d56 |
|
BLAKE2b-256 | f5df78ef3475f3cea92571449ad7b9b8f189d411c5d85ab5f91edbdab5d32323 |
Hashes for ap_features-2022.4.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d30207ad83796f4a82f8874db189ce9cf64022c81e9e48b25d723e2f160903f4 |
|
MD5 | 94e716a9e165d6e7c5cce4623b7bc31f |
|
BLAKE2b-256 | 55436302f901aec65c8a1d3a2b53c9a07acdeb8ac5c86b45a0b2930bbf81ff6c |
Hashes for ap_features-2022.4.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cac6095be76ff775aa23539a7c43697d27a33b71606ee52dfb99e98841a1092 |
|
MD5 | ccc0c50d972bffab987fd59e712759ac |
|
BLAKE2b-256 | 16c4c510a58d3b17438ad46d24bf839104e4d2db6dbae1aa7288bf38da2abef9 |
Hashes for ap_features-2022.4.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a56c3bfb51dc108119912995a354cf7ee1453ef8fcac6bc2cd5bd5f8e5851a3b |
|
MD5 | 042041f94554c68c502ff796d8fa98cb |
|
BLAKE2b-256 | 8a2157491f39824f42002abb84753c8cd48dda44bccd6be195dc58a10010e425 |
Hashes for ap_features-2022.4.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a06ff4d9ba26adc148c9b5b823f56bd2e0881b77b059e8a0c725e0b3e2cff1ff |
|
MD5 | fb4b69e51522356bf9cc8fee4d9db233 |
|
BLAKE2b-256 | 23aa2848c135fd93ec4955b7ee75d97e2095624338f4953462407098a81092d3 |
Hashes for ap_features-2022.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ad6007a38be5686ffb3f55b9e31460b32bdfb89d93d28dd3d71650841861ea |
|
MD5 | 1a2d161753d308309327441e2fa50ce3 |
|
BLAKE2b-256 | 29cf9e06350e11815908f9d12faca336ef4b9128a8c7e5c5be9d920f1633a9ff |
Hashes for ap_features-2022.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240bd03537d3a986141b8ab2b9f36ea7165a6b6519385c5441f30f119b247c99 |
|
MD5 | 8ea6c3871250006e8c4a2e988c77b499 |
|
BLAKE2b-256 | ffdb710d7f2938190512b8351576b73d7a2b7f690c68d2277f1a1beb4c101a2e |
Hashes for ap_features-2022.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3abb349f5cae0d65daef8c8722ff81fb34b62248a8ac242330a979d5d5361323 |
|
MD5 | 0aeb130afca399f31d42268d6229445a |
|
BLAKE2b-256 | 1b19f3fd163141c44b4249a5b974e75fc0f98d79e3b853ed9d734840c2cf8fc9 |
Hashes for ap_features-2022.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a600d2714df121fdec7a707de0e71214f9313c88ab91022fd947e2a2f61a950e |
|
MD5 | 7408424193cbb94dc13c636284b02ca6 |
|
BLAKE2b-256 | 09a7efc41ede6f8fd717c080d33ca246354deb580d1514818f8ed7d1f25cb52b |
Hashes for ap_features-2022.4.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e713d67a37ae98f06da4a7d7d9cd630c1dddb1ebd0755edf455d66dc5202d65 |
|
MD5 | 3258747cd3d5fd6babddb5f73cef46da |
|
BLAKE2b-256 | 2084a9e566161b8c6dca00fdb8fadc39ca0a493954bce2087f01d325963ba5ce |
Hashes for ap_features-2022.4.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6538fe8888691e91e73bdffbd30c1cc6d7f42e9616724ee742b954cfcb5718f6 |
|
MD5 | 3382d76e500e3c0eec4bbec170a6c965 |
|
BLAKE2b-256 | ee47b6dc97ccab0b6c593508eeb98ccbcd3a753b053f7f7ef6781766c86781cf |
Hashes for ap_features-2022.4.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d03607d337a78f88944af6e997e4207f3c361e2a2fa959059a4965daee7edbe6 |
|
MD5 | 683a73d6154f1b9fd6b67ea6edc088df |
|
BLAKE2b-256 | 03728ccdf726b6cde62037b62b0d7ef8f12937fd75a2c6ac66366285b3acf630 |
Hashes for ap_features-2022.4.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f19e8a585a1599f21c43c0154fb470170ffd90af98e7a5ce1baeb74a8012fc7 |
|
MD5 | 28d93da484fdc5d1a9bd8151aba1718b |
|
BLAKE2b-256 | d3c18b675ff26ee32c32583827e311e6a723537772fe740efaaea5bd6499402d |
Hashes for ap_features-2022.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a018ee3ca82a0d525f293d6a502dbbbd60a747967cead0e2ccb48f9d57e3c44f |
|
MD5 | 8b640c3073988e2b171d673cf7baf5eb |
|
BLAKE2b-256 | bdb6a31e18b728513df3ffbe45f67b91fc70ced9d5ccfaf6efd731ea6042ee96 |
Hashes for ap_features-2022.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74df361563b1b63054abc45510928bee5acec55c1e5b2da258b55803c3cd2a94 |
|
MD5 | feb5b3a6355dfae4225036c803e27c82 |
|
BLAKE2b-256 | 3596dbeae908ca669b9d7709e4483402fe7a3844ad0cf1af900b16afc8d400ac |
Hashes for ap_features-2022.4.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1333f19d2b820eeea2f4a722bc33536f5d7358bc74201ed2b85f2f12a7ced9b2 |
|
MD5 | e8b643482f253623eb9ea30bad4b5396 |
|
BLAKE2b-256 | 85325a377f050ede6ad747fdf267b5161e1456580d85c8e178fd4fa01de89e1d |
Hashes for ap_features-2022.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a34184d41224806624c8501beb65cdc1365c3e336bbe605290545e8fa0bd076 |
|
MD5 | a3437adf9721bab7765481bc39d013b9 |
|
BLAKE2b-256 | d64aab5e9dd345976a778455a07e395173dd42fb55f29b448ff5fbb521846358 |
Hashes for ap_features-2022.4.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a916b6ad42ce40df8f20768ce7faa562e5d9cdf7742028274f124b41bef40c7 |
|
MD5 | 1ad7dbfa67b2c2647077f0a943badba0 |
|
BLAKE2b-256 | a5d4edbbedab22e72e23a53d20ec0a5065a4cf689ff770ddca55947d1a7b0af7 |
Hashes for ap_features-2022.4.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28db9ff50d94379276f2f108527306de41d36c1b197c8b078b382e324f0d511 |
|
MD5 | 267fb04d77d3e57582f63848bdef6ea1 |
|
BLAKE2b-256 | 9d4f96ef22611b261ea0ba7b8f033199886a197eb3807790fcbb52e0501ee20e |
Hashes for ap_features-2022.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad197d23e96ca6948895526c3faa5d0e10c069ec5f84a5a1e4269665c27145c |
|
MD5 | d63986810d0f003385ed20a53fb9bb2d |
|
BLAKE2b-256 | 87daaf51f1b6391f851c6a6a532dbe3b55d202beab60d1fff58765cb5e9409bc |
Hashes for ap_features-2022.4.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d460541239368b5e00aecf7df4b29b69eca663e226f09dd2801373dad3e557 |
|
MD5 | 2517eda697ee15a7e5ec5401ed6f6192 |
|
BLAKE2b-256 | 99561ec057f2c12fd0ab105ec2abf41d0d52d437e19a1b35f6e04d6097593665 |
Hashes for ap_features-2022.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42508b9a19a6cadb75a17d1fced0a7c3ac584ba1a756645029ebc65a99ffa725 |
|
MD5 | 115dc564233176f008eb99171d9e9f23 |
|
BLAKE2b-256 | 3bea70201c7a47ccfff23193f504ffa4207b3d8ecbfc1b5130fec7dc308041c0 |
Hashes for ap_features-2022.4.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e11c76b3d2912a0da8d47302b54c1a3338078f57f4a301c91bc854c43b3e833 |
|
MD5 | 90936801f220c57e7bed00a52fda3667 |
|
BLAKE2b-256 | b62dbd4c9a82aff6f75bc9ef2c8f5b5956d8ac4b006c06bd7dd2dd397c11203c |
Hashes for ap_features-2022.4.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07a1352319834ea6cffead181102c2daa1eebc6aa4a935d4cf1cb96eacce7eb |
|
MD5 | 917dac0af5c6ea16cf59053b47b371e9 |
|
BLAKE2b-256 | ff32202c8a9bbd869635fbcb4ed0b3ccf2f6b76bbbff976b993672154a000767 |