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-2023.1.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fd6fa02e21f64329d461889062f0c77fc32b3ba34766004923c6ff4aeed3af |
|
MD5 | 7e7783d33d9174a2fe768ada4f027265 |
|
BLAKE2b-256 | 478e13ddbdf4f8f27b9a722c98e3a5d307ef38424918810a06362715f103f12d |
Hashes for ap_features-2023.1.3-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3a99b450e43e00a6609e893148bf61064c005fc8351d74ef475b1b388db609 |
|
MD5 | eb98b735a78f382cbe1b45566992d52f |
|
BLAKE2b-256 | b1ff5c856684fcc464915e6c42077efac06bc72e91da0501065a2665cec7b6ce |
Hashes for ap_features-2023.1.3-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fae4713fa531b8e6cc117d09e0d438d39d455acb78c3aaf5c3a0db40f3fc602f |
|
MD5 | 1805b716ad1cb73b9a678f88872c861e |
|
BLAKE2b-256 | 45eb828fb4464b0e0e1bd51d31ef18921c829416db74ed3e180903a85e75c8bd |
Hashes for ap_features-2023.1.3-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0498e80435701a456948c046696b440b23127586b4ad603cc7e0f80d6154fe21 |
|
MD5 | 72e20b0e542ac1756d54d71193c6b69e |
|
BLAKE2b-256 | 109de429f8bfae875755cb3c113d3abc459cfc8dccbe18a2ffa8af1bbbdab3d0 |
Hashes for ap_features-2023.1.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c86909ad57da5e1283f4edca9122e884896e19de3fc203226b1baaa3618d4e62 |
|
MD5 | 072bd694dfeeee55bebfb3b15b770139 |
|
BLAKE2b-256 | e7944b5df6595871c60278c04415f9ccef4e367bba5514432785b65d66f8ea58 |
Hashes for ap_features-2023.1.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35dddcc17cdadb78c3ed52573660f93ec7f1cc33ff6c2d4585ae82c396bda11 |
|
MD5 | 562c29b6e65c961b9aa67267508f5ead |
|
BLAKE2b-256 | 59465f6dd1a15a56f5a471f8318593a69d057310e3ffb41f8ec8afcdec4e02b5 |
Hashes for ap_features-2023.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd5af9999f0658da08857164f8986f129b9619572c9966b4878211283a689e7 |
|
MD5 | bcb47ac47f049dc8981ad1b352617021 |
|
BLAKE2b-256 | 714afd39aad378467bd556fe2fdb9bef36506b67f1835236f57fb26ef17d4eed |
Hashes for ap_features-2023.1.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9faec5e753c1d9768b9ca564d3f144b34bb324184f7f821287ee13fc6eaffae9 |
|
MD5 | fff8075a451201faee80f121a1830b02 |
|
BLAKE2b-256 | 5b77226ca975cf26ff3abc93d46a3c731294b9f95b25c7f559e2eedc6ed30166 |
Hashes for ap_features-2023.1.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658db7b1c47dad5258af68d71bb260c0c9654c528687813962f328f4ee79ef04 |
|
MD5 | 978b7255e2f185bc65f620447d8eae93 |
|
BLAKE2b-256 | 6aa22ab12edabb4928eb77f3a5e11a812cda1bd9504381f84babc6d1ca8d91e8 |
Hashes for ap_features-2023.1.3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad164ab5225448f4d3956d0a8c3e6b72757a21d116578dcc386cbdefadd161b |
|
MD5 | a331744fd33f308e268625eeac18fc24 |
|
BLAKE2b-256 | 3454f48cd2a7c815d7487d0a1795bcd89b7a2e05eec8ddc7ad9a73a097a21e59 |
Hashes for ap_features-2023.1.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3c2ffffcf3ce9306469d82d747b98913599127a8413d9d397cde6b7ff0633e |
|
MD5 | 2e611fcc046059aee72324fd2ef60196 |
|
BLAKE2b-256 | 5c5f07ff07da588066b22feb2b14456761931a79a24d6795acc656329b7abc47 |
Hashes for ap_features-2023.1.3-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c112fa7ee74e1fc37c05c68c96b2715e8180bef31433422a99a8857ed94f8dc |
|
MD5 | dfe2733f4cd439e2e25ed057858428dd |
|
BLAKE2b-256 | 8328ebc4ce49ec29a8c00499c9f4ac43c5e979b10e455e1e256456c012fbec89 |
Hashes for ap_features-2023.1.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f525945cfc2a9e7d041f991c7717dc2c40ea1cf57cf5246615c84830f776df |
|
MD5 | d99548026386b7d6bbc797ccb39ee5fa |
|
BLAKE2b-256 | 88c8ebff734174f491bca31b27190638fb629e35330a8fc5615b27e974742915 |
Hashes for ap_features-2023.1.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e6cd33caaee05c3e93a925fdfda6facf39afe27f0ac2b4409c3d1c0d4646da |
|
MD5 | e0ce712ac667ba5acd7511b0325f87f9 |
|
BLAKE2b-256 | 78eb9fda16106f3700a8053db6f286d9b0b4e306b6b391829bb160f957192513 |
Hashes for ap_features-2023.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d03f05752ffc97721f6cf49fa771d6ac738f4c8817f53800047cfe46d787a8 |
|
MD5 | 2d0bb7d9fb9f74f310ed29601f7c52c5 |
|
BLAKE2b-256 | 34814ec08de44af3ce84f61daf2a0822e0f1abf521ad5b6b841f854b6e1bb931 |
Hashes for ap_features-2023.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6038427fa5fe734356203fc47ca1e1c3cb5f11a6c1c15440356c1a54824b9121 |
|
MD5 | 5d3278d5f475267fe831c74608eb4446 |
|
BLAKE2b-256 | 58425928738ddd0389214164217a6ee0c1b40dbb53071bb8f87b165590a8fb35 |
Hashes for ap_features-2023.1.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7beb308019c513dcb3d365da7082580d0fad2b42dd3fa9c1d485e2cf6146e5 |
|
MD5 | 94be3ab5060257f9df2f2defe5100915 |
|
BLAKE2b-256 | d59857a997f37c049ceb36ace097735469b05c663e240d9b06940c176560b8d5 |
Hashes for ap_features-2023.1.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0383721dcedbfd22686d04db3a60005dcda74337320566f9a7d9111c7681e69 |
|
MD5 | 6df6f8575b9a59dd0d5c966abd76631b |
|
BLAKE2b-256 | 80828eebbf9cba864c00ab7558e5e7ca863b1d242a5fe70c1b3321f4942fe8da |
Hashes for ap_features-2023.1.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d38c56ba5a2e37d6e1640372805568ea8fcb426f573169164e1a6338e6582421 |
|
MD5 | 510b8dd16de1c63e109556efd72d4557 |
|
BLAKE2b-256 | b1db34f4fdef28848de5585e12e799d9f11d54d2f7603f7f166410d6d15d2b64 |
Hashes for ap_features-2023.1.3-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64fefee576961f45af94ac8768f6508fefaf7f020969ea695844d2d46203ce2 |
|
MD5 | 11b07e6cf966a38e60aff2e5527c074e |
|
BLAKE2b-256 | 3756aa359df8329d3d666faa1bfcc0682cb3c6b77e6f2c42bb90834f9606f60a |
Hashes for ap_features-2023.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 245975b455fdeff1479025ce0c7c255bb5f1aa19c0977beadfe52c13e7d39556 |
|
MD5 | 59ad672224768028defb12bc7796389b |
|
BLAKE2b-256 | 007469262a016a44f1a03fa511981772bfe2e4612bdf1bc52f6776e48ee89439 |
Hashes for ap_features-2023.1.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 459dafaa8d589179296de01c243015c57302c5dd332bf5be8f915e936f54745b |
|
MD5 | 2efbccc28574b0dff8368c9b8a440949 |
|
BLAKE2b-256 | addd4433afa62b42548d1f9493ba296747978e48f46652ad274ef2ef00b59c8f |
Hashes for ap_features-2023.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f25acdde2932677554080b2daf933124f913e14f451f67adef4c205e7c106eb |
|
MD5 | c4a706f7aaf83650ac0c0d4fc5d0b5b6 |
|
BLAKE2b-256 | 17bbf88dde18267b6fcf2793d177083700769041f2563396fe0e2e79d4ab69e9 |
Hashes for ap_features-2023.1.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4dfd51a8cd564251475fe4f6b433dbe37613e1ceef2ac16015ee04336f7a77 |
|
MD5 | 8a40ac22bfe8284c9e08a7685eab647a |
|
BLAKE2b-256 | 5c8614ced0fa930540e2753f9bb6d5dd0ca5cc3bfb97f72f73ee74ac21fe9958 |
Hashes for ap_features-2023.1.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b83e51819116f23a9030f4642ea0da808cffc1a409d57c937b8e01430c7a258 |
|
MD5 | 4ba4c93a28797209188ff172c1fbea2b |
|
BLAKE2b-256 | 61c7c6207708ae1f879881ad393cea4ddc5663d10dc9ccb7771cbf85dcd7e424 |
Hashes for ap_features-2023.1.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92ac289e03d40abfb29fe65391083c47544bcd41919a9d8160fea4eef08d32e |
|
MD5 | 6284e7e62a8a2d86a8efb6c1bbd648a0 |
|
BLAKE2b-256 | 3a0914d8e8fffa7f5940dc5894731642e08429e660fed225a935a6a9ac83aae9 |
Hashes for ap_features-2023.1.3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e550c4cc2e8a33b3fa2b541dada483dbfe94092142cf67b9452c4dbbf1a028 |
|
MD5 | 7fbc4b3ef0ef358682bf4688630b2b3f |
|
BLAKE2b-256 | 93259e274c4bedac6c19f2068318fd09f4f1ce4a30f704ed070b2af1a91f7d0a |
Hashes for ap_features-2023.1.3-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a827384e577ca45fa515c87b721623c42bd389b1fe5417f82915ec9ccda71da |
|
MD5 | 88f1c4927ead82cd5220463ac8b21cf2 |
|
BLAKE2b-256 | c8d0601fcf6653d61908b8aed5f36fe2983790fc3c1828e37734334dd24b399a |
Hashes for ap_features-2023.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc205305db72bb90ff45f0828e2f2db47c27eae08397cc0f9aa14f6803900f73 |
|
MD5 | 67e89905bb31b90370be9b2d9e5cd6ce |
|
BLAKE2b-256 | f51ffb15d8f2969fe0f312a67e40b112b6c957204cef28f71c6c607d4f41238b |
Hashes for ap_features-2023.1.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d99e575c5d502e3df2e7386775ab3b3e913a75841f88cba703de7b06381683d |
|
MD5 | 13910f2e6b27e8b990c563bd785b812d |
|
BLAKE2b-256 | 0522c049ff4685dc69fda67a2f79e56c9b77bbbb352d54d28b54f165554d051d |
Hashes for ap_features-2023.1.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2691c7c6a5029fd96f13dba2b6d382d1f8bc0d3270aaf0527ae20b185847d41 |
|
MD5 | 7a2357aa6a52c784b0b97cae8a96ec5c |
|
BLAKE2b-256 | 4eeb3b8ca2040e3c32bc0d30b92caade016aef1cfd4b21ea5e01a1e1ac312eb2 |
Hashes for ap_features-2023.1.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d17faedabd972dab3e04a5566aea833f560f4e4153e925c82f265ac019c705 |
|
MD5 | d9b12b84524586630665d0d716f2d476 |
|
BLAKE2b-256 | 5f1338ea56ed9a7c212584c44d2c4cc00858034ccf2fc451c0b44b51ba443384 |
Hashes for ap_features-2023.1.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 971f32b02d39b41c863164e200a6f8a95c47d87c95ad5b4f0dc00e2fe630bcc4 |
|
MD5 | 52f205e3328a7c0bb0855524275d03fd |
|
BLAKE2b-256 | 2b703bbcbcfc496cb7c3b470521318d672c672496a4ac974a7340801d24762e9 |
Hashes for ap_features-2023.1.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80620177cac17a507b709c4371b831f70985fdf64913434d0cd8694fb070155c |
|
MD5 | 4275f56aaf27a44f9cc378a41233cc48 |
|
BLAKE2b-256 | 46bda3e8b390337fbe17ad77c80e8de2671148a2f13247178fea04ee08c02faf |
Hashes for ap_features-2023.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f556002c7c15b0dab92962dfbdad6647c362a57934da8c23b38ca73e0b77f6f |
|
MD5 | fa97316526cedf96f338df476e5c78b8 |
|
BLAKE2b-256 | 52fa0fada2787eb96a180188d7a90346a66ea7ec30f9d5a4eb69637ecb0cd77c |
Hashes for ap_features-2023.1.3-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24bf384a4ceebc0d346940cb4f6f3ef24b4b4c436c94f94e02f0c19b0ef9f341 |
|
MD5 | 7fde4de99e4128c33aaa5fb0fbb14ddd |
|
BLAKE2b-256 | 279ea5a6f9cd585d0141354d9c01a5327c0e5754481fcaabdd50e25742e0fb1f |
Hashes for ap_features-2023.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45cb8bbee60e055012b760eb83321dd9ca561032a0ea83302c805f33da596c27 |
|
MD5 | 37f73e6edc48d778fc1b21cb981333e9 |
|
BLAKE2b-256 | 23805ecac7a6f93a746ee7bc3a0272ab60a668b4ee6f2b7b96aa1731a10c4d47 |
Hashes for ap_features-2023.1.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37587e0392650df0473010ddc5398025ca79c2817e437708d65de98c31a566a5 |
|
MD5 | ba03793aa6b0da7497ce943285fd8ba6 |
|
BLAKE2b-256 | e9ee02e9bb4eae5602686a952686c659db0f1a1df81050d93e961707a169897d |
Hashes for ap_features-2023.1.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c1045b58c6a85476eeb5618c4de01cfbac1a59c90744f270782cab71f18ae5 |
|
MD5 | 8551e8f7016166a8e16c56ba84589111 |
|
BLAKE2b-256 | 3e2e810f95fc082ee5d4856cb2474c1273ac942a61030d73dbbd20644560aad4 |