Skip to main content

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

finitewave_model_aliev_panfilov-0.5.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file finitewave_model_aliev_panfilov-0.5.0.tar.gz.

File metadata

File hashes

Hashes for finitewave_model_aliev_panfilov-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c8c7ef4e6db8887a46fc0a8dc4b99090a5cf7d1042001b4abca0073793575ae9
MD5 90cd69aa25774d2911f43e13b4bf03f4
BLAKE2b-256 3754bfe00aacd2da60acdf99c558205c9bc437b5d98a45b1b23bf3577f543c21

See more details on using hashes here.

File details

Details for the file finitewave_model_aliev_panfilov-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for finitewave_model_aliev_panfilov-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 824eb1fd0ef61ee9dcee4db892722c0045ae22883ac9641058f7d9b8e8f4d988
MD5 41d08c149508e14a814736223d04d623
BLAKE2b-256 184ff77c4b146558db36aac00a50256cf731933631db882be1477e8bddef4a82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page