Luo-Rudy-91 model.
Project description
Luo-Rudy Finitewave model
The Luo-Rudy-91 model is a mathematical representation of cardiac action potentials, designed to simulate the electrical activity of heart cells. This model captures the dynamics of ion currents and their interactions, providing insights into the mechanisms of cardiac excitability and conduction. It is particularly useful for studying arrhythmias and the effects of various pharmacological agents on cardiac function.
This model implementation can be used separately from the Finitewave, allowing for standalone simulations and testing of the Luo-Rudy-91 dynamics without the need for the entire framework.
Reference
Luo, C. H., & Rudy, Y. (1991). A model of the ventricular cardiac action potential. Depolarization, repolarization, and their interaction. Circulation Research, 68(6), 1501-1526.
DOI: https://doi.org/10.1161/01.res.68.6.1501
How to use
python -m examples.luo_rudy_91_example
This will initiate a simulation using the Luo-Rudy91 model and display the results.
How to test
python -m pytest -q
Repository structure
.
├── luo_rudy_91/ # Luo-Rudy-91 model equations package (ops.py)
│ ├── __init__.py
│ └── ops.py
├── implementation/ # 0D model implementation
│ ├── __init__.py
│ └── luo_rudy_91_0d.py
├── example/
│ └── luo_rudy_91_example.py # minimal script to run a short trace
├── tests/
│ └── luo_rudy_91_test.py # Luo-Rudy-91 model test
├── .gitignore
├── LICENSE # MIT
├── pyproject.toml
└── README.md # this file
Variables
Model state variables: description, units and ranges (optional)
u- Transmembrane potential (mV)m- Activation variable for sodium channelsh- Inactivation variable for sodium channelsj- Inactivation variable for sodium channelsd- Activation variable for calcium channelsf- Inactivation variable for calcium channelsx- Activation variable for potassium channelscai- Intracellular calcium concentration (mM)
Parameters
Ion Channel Conductances (mS/µF)
gna = 23.0- Fast sodium (Na+) conductancegsi = 0.09- Slow inward calcium (Ca2+) conductancegk = 0.282- Time-dependent potassium (K+) conductancegk1 = 0.6047- Inward rectifier potassium (K1) conductancegkp = 0.0183- Plateau potassium (Kp) conductancegb = 0.03921- Background conductance (leak current)
Extracellular and Intracellular Ion Concentrations (mM)
ko = 5.4- Extracellular potassium concentrationki = 145.0- Intracellular potassium concentrationnai = 18.0- Intracellular sodium concentrationnao = 140.0- Extracellular sodium concentrationcao = 1.8- Extracellular calcium concentration
Physical Constants
R = 8.314- Universal gas constant (J/(mol·K))T = 310.0- Temperature (Kelvin, 37°C)F = 96.5- Faraday constant (C/mmol)
Ion Permeability Ratios
PR_NaK = 0.01833- Na+/K+ permeability ratio
Equilibrium potentials (mV)
E_Na = (R * T / F) * log(nao / nai)E_K1 = (R * T / F) * log(ko / ki)
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_luo_rudy_91-0.4.5.tar.gz.
File metadata
- Download URL: finitewave_model_luo_rudy_91-0.4.5.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54df442a21e4d3e146163563396a08d5fd5e77d8f90027336a95b6c81b7847ef
|
|
| MD5 |
32e331b443a4adbb31f5801bc7aca3d2
|
|
| BLAKE2b-256 |
18c7f7d377e68aad7ba0b204b927ea995fd93aa2e9a22feddadbfa267053e7a5
|
File details
Details for the file finitewave_model_luo_rudy_91-0.4.5-py3-none-any.whl.
File metadata
- Download URL: finitewave_model_luo_rudy_91-0.4.5-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd66c53abc6a172d5fe9bdc687f88d7348cf9335e8f0205cdd413fabbf119f40
|
|
| MD5 |
8e5fcb40ec00e0c737e8bec56810b304
|
|
| BLAKE2b-256 |
f858b1f2a33d3216c2f92cf36c0b1c951f1479ca6214601ededd7a2503a52892
|