Aliev-Panfilov Finitewave model template
The Aliev-Panfilov model is a mathematical representation of cardiac tissue dynamics, capturing the essential features of wave propagation in excitable media. This model is particularly useful for studying the behavior of cardiac arrhythmias and other phenomena related to heart rhythms.
This model implementation can be used separately from the Finitewave, allowing for standalone simulations and testing of the Aliev-Panfilov dynamics without the need for the entire framework.
Reference
Aliev, R. R., & Panfilov, A. V. (1996). A simple two-variable model of cardiac excitation. Chaos, Solitons & Fractals, 7(3), 293-301.
DOI: https://doi.org/10.1016/0960-0779(95)00089-5
How to use
python -m examples.aliev_panfilov_example
This will initiate a simulation using the Aliev-Panfilov model and display the results.
How to test
python -m pytest -q
Repository structure
.
├── aliev_panfilov/ # Aliev-Panfilov model equations package (ops.py)
│ ├── __init__.py
│ └── ops.py
├── implementation/ # 0D model implementation
│ ├── __init__.py
│ └── aliev_panfilov_0d.py
├── example/
│ └── aliev_panfilov_example.py # minimal script to run a short trace
├── tests/
│ └── aliev_panfilov_test.py # Aliev-Panfilov model test
├── .gitignore
├── LICENSE # MIT
├── pyproject.toml
└── README.md # this file
Variables
Model state variables:
u- Transmembrane potential.v- Recovery variable.
Parameters
Parameters and their defualt values:
a = 0.1- Excitability threshold.k = 8.0- Strength of the nonlinear source term.eps = 0.01- Baseline recovery rate.mu_1 = 0.2- Recovery scaling parameter.mu_2 = 0.3- Offset parameter for recovery rate.
Metadata
Release files for finitewave-model-aliev-panfilov 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finitewave_model_aliev_panfilov-0.6.0.tar.gz | 95.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finitewave_model_aliev_panfilov-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.6 kB
Release files / finitewave_model_aliev_panfilov-0.6.0.tar.gz
| Download URL | finitewave_model_aliev_panfilov-0.6.0.tar.gz |
|---|---|
| Size | 95.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64a16dcfe5187032fb7b51246565c2851a06312e0b3cde38e93c1dbaefe119eb
|
|
BLAKE2b-256 checksum How to use checksums |
ab50c0031170f9b6d756ea083b4b746237bf8cc4f716c7e97a4efce6f5791ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / finitewave_model_aliev_panfilov-0.6.0-py3-none-any.whl
| Download URL | finitewave_model_aliev_panfilov-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5389b634498550bd50c8cf08c622d756b34a350d038fa1b4645673642805694e
|
|
BLAKE2b-256 checksum How to use checksums |
c788b3913a9c305737bf4a155c33cfb09954d281ebfb947a0afa9a470cfbc54b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|