Aliev-Panfilov model.
Project description
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file finitewave_model_aliev_panfilov-0.2.0.tar.gz.
File metadata
- Download URL: finitewave_model_aliev_panfilov-0.2.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e365e046232ccce3aa3baf606b0f3011099b229235478de4962609f08c32576e
|
|
| MD5 |
fdc21eb595212d5e5e84a300b0614446
|
|
| BLAKE2b-256 |
4764fc5f6fbe7325bfa7055d8834ff8b7124a2d7bd9486ab74c78f07ae43cedf
|
File details
Details for the file finitewave_model_aliev_panfilov-0.2.0-py3-none-any.whl.
File metadata
- Download URL: finitewave_model_aliev_panfilov-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ac0f53112612ad33c5951979a0de31104503842fc956053e9d7aca95ab20e9c
|
|
| MD5 |
4844d6a4d8eea3a413d8757b458b3e11
|
|
| BLAKE2b-256 |
4204b1ea48f8807d6655ccbb83f12989dd54ca39aa551107843ffb88d821ebe9
|