Skip to main content

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.

Alt text

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 channels
  • h - Inactivation variable for sodium channels
  • j - Inactivation variable for sodium channels
  • d - Activation variable for calcium channels
  • f - Inactivation variable for calcium channels
  • x - Activation variable for potassium channels
  • cai - Intracellular calcium concentration (mM)

Parameters

Ion Channel Conductances (mS/µF)

  • gna = 23.0 - Fast sodium (Na+) conductance
  • gsi = 0.09 - Slow inward calcium (Ca2+) conductance
  • gk = 0.282 - Time-dependent potassium (K+) conductance
  • gk1 = 0.6047 - Inward rectifier potassium (K1) conductance
  • gkp = 0.0183 - Plateau potassium (Kp) conductance
  • gb = 0.03921 - Background conductance (leak current)

Extracellular and Intracellular Ion Concentrations (mM)

  • ko = 5.4 - Extracellular potassium concentration
  • ki = 145.0 - Intracellular potassium concentration
  • nai = 18.0 - Intracellular sodium concentration
  • nao = 140.0 - Extracellular sodium concentration
  • cao = 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)

Metadata

Release files for finitewave-model-luo-rudy-91 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finitewave-model-luo-rudy-91 0.6.0
File Size Uploaded
finitewave_model_luo_rudy_91-0.6.0.tar.gz 106.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for finitewave-model-luo-rudy-91 0.6.0
File Interpreter ABI Platform
finitewave_model_luo_rudy_91-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 114.5 kB

Release files / finitewave_model_luo_rudy_91-0.6.0.tar.gz

Download URL finitewave_model_luo_rudy_91-0.6.0.tar.gz
Size 106.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d8ca0b745af9d8940d32d2ffc9aa275cb7136e00669319927a7b401762f01a39
BLAKE2b-256 checksum
How to use checksums
ce4b6eced044facef1405bf554f57d5a24fffc1438fb0e3a2ffee012ddedc71b
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_luo_rudy_91-0.6.0-py3-none-any.whl

Download URL finitewave_model_luo_rudy_91-0.6.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6afb2b5c09bae979def3ae2d585e50e8ff196c051cbd34801adb6a477e2f895b
BLAKE2b-256 checksum
How to use checksums
f2e42e510b227217a499eb16863d18d144140c0166f9dcb7a9d3d885ce615a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page