Skip to main content

Fast eikonal solver for electrophysiology simulation

Project description

Arritmic3D: A fast Eikonal computational model for electrophysiology

simulation CoMMLab 2026-01-01

Arritmic3D is a fast Eikonal computational model for electrophysiology simulation.

The simulator has three versions in separate branches: branch main (this branch), with a development version, branch ventricle, with the ventricle version, and branch atria, with the atria version. Checkout the desired branch before proceeding.

[!WARNING]

This development branch is not fully functional and has some differences in the diffusion model with respect to the other two branches. Thus, this branch is not validated and should not be used for research purposes yet.

The original version of the solver was developed in the Java environment Processing. Now it is being migrated to C++ and provided with a Python interface.

Installation

Arritmic3D is available as a Python package in PyPI. From a python environment, you can install the package using pip:

pip install arritmic3d

This will also install some convenience scripts that can be used from outside the python environment, as command line tools (see the usage section).

Compilation from source

You can also compile the wheel yourself. To compile it, you need a standard C++17 compiler, Eigen and Pybind11 installed in your system.

As a reference, in an ubuntu machine it should be enough to run:

sudo apt-get install \
    build-essential \
    pkg-config \
    cmake \
    python3-dev \
    gcc \
    g++ \
    libeigen3-dev \
    python3-pybind11

Then, clone the repository from GitHub and compile the wheel by running:

python -m pip install --upgrade pip setuptools wheel
python -m pip install .

Usage

The solver is presented as a C++ library with is wrapped in a Python module. In addition, a Python script to run simulations is provided as an executable called arritmic3d. This script is meant to provide a reather flexible way to run simulations in many common scenarios.

However, for advanced usage, you can build your own Python programs that use the Arritmic3D module. You can find the Arritmic3D API documentation here.

A guide on the usage of the arritmic3d script and other related tools can be found in the web page.

Citing Arritmic3D

If you find Arritmic3D useful for your research, please cite the following paper:

Serra, Dolors, Pau Romero, Ignacio Garcia-Fernandez, Miguel Lozano, Alejandro Liberos, Miguel Rodrigo, Alfonso Bueno-Orovio, Antonio Berruezo, and Rafael Sebastian. 2022. “An Automata-Based Cardiac Electrophysiology Simulator to Assess Arrhythmia Inducibility.” Mathematics 10 (8): 1293. https://doi.org/10.3390/math10081293.

Related research

Romitti, Giada S., Alejandro Liberos, María Termenón-Rivas, Javier Barrios-Álvarez De Arcaya, Dolors Serra, Pau Romero, David Calvo, et al. 2025. “Implementation of a Cellular Automaton for Efficient Simulations of Atrial Arrhythmias.” Medical Image Analysis 101 (April): 103484. https://doi.org/10.1016/j.media.2025.103484.

Serra, D., P. Franco, P. Romero, G. Romitti, I. García-Fernández, M. Lozano, A. Liberos, et al. 2023. “Assessment of Risk for Ventricular Tachycardia Based on Extensive Electrophysiology Simulations.” In 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 1–4. Sydney, Australia: IEEE. https://doi.org/10.1109/EMBC40787.2023.10340169.

Serra, Dolors, Paula Franco, Pau Romero, Ignacio García-Fernández, Miguel Lozano, David Soto, Diego Penela, Antonio Berruezo, Oscar Camara, and Rafael Sebastian. 2022. “Personalized Fast Electrophysiology Simulations to Evaluate Arrhythmogenicity of Ventricular Slow Conduction Channels.” In Statistical Atlases and Computational Models of the Heart. Regular and CMRxMotion Challenge Papers, edited by Oscar Camara, Esther Puyol-Antón, Chen Qin, Maxime Sermesant, Avan Suinesiaputra, Shuo Wang, and Alistair Young, 13593:56–64. Cham: Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-23443-9_6.

Serra, Dolors, Pau Romero, Paula Franco, Ignacio Bernat, Miguel Lozano, Ignacio Garcia-Fernandez, David Soto, Antonio Berruezo, Oscar Camara, and Rafael Sebastian. 2025. “Unsupervised Stratification of Patients With Myocardial Infarction Based on Imaging and In-Silico Biomarkers.” IEEE Transactions on Medical Imaging 44 (12): 4762–74. https://doi.org/10.1109/TMI.2025.3582383.

Serra, Dolors, Pau Romero, Miguel Lozano, Ignacio Garcia-Fernandez, Diego Penela, Antonio Berruezo, Oscar Camara, Miguel Rodrigo, Miriam Gil, and Rafael Sebastian. 2024. “Patient Stratification Based on Fast Simulation of Cardiac Electrophysiology on Digital Twins.” In Statistical Atlases and Computational Models of the Heart. Regular and CMRxRecon Challenge Papers, edited by Oscar Camara, Esther Puyol-Antón, Maxime Sermesant, Avan Suinesiaputra, Qian Tao, Chengyan Wang, and Alistair Young, 14507:35–43. Cham: Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-52448-6_4.

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

arritmic3d-3.0b7.tar.gz (11.1 MB view details)

Uploaded Source

Built Distributions

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

arritmic3d-3.0b7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

arritmic3d-3.0b7-cp313-cp313-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

arritmic3d-3.0b7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

arritmic3d-3.0b7-cp312-cp312-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

arritmic3d-3.0b7-cp311-cp311-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.11Windows x86-64

arritmic3d-3.0b7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

arritmic3d-3.0b7-cp311-cp311-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

arritmic3d-3.0b7-cp310-cp310-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.10Windows x86-64

arritmic3d-3.0b7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

arritmic3d-3.0b7-cp310-cp310-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file arritmic3d-3.0b7.tar.gz.

File metadata

  • Download URL: arritmic3d-3.0b7.tar.gz
  • Upload date:
  • Size: 11.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.13

File hashes

Hashes for arritmic3d-3.0b7.tar.gz
Algorithm Hash digest
SHA256 6b7ab74d69e7412b1b574ff2eb83b25047758945d5183018974be10d485a834f
MD5 d1f85bc85b654a52beb91cc56e0dc603
BLAKE2b-256 4d8ede0d9ac7c638a092f11a6b2d9c6bb71cef693d184b3c6aeedf22c4f7a692

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb09b903ec2179c1da0f7380ab16781419a247dfdb3df9ee42b6b9523484e77c
MD5 29b9ae204d3a9d2194dbd2afc8e75604
BLAKE2b-256 2fd2887f450245a4b863bdb88900dd5e6eff85a727238de4f11c5a3de42cd99a

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 70903446bf48591a2c05589e93e98927add50b2a591c099925860b28241f7514
MD5 07398b7244adb5997493067186dabf49
BLAKE2b-256 1dc82c06f2949da654704421b68ca86595d7852f8f154db445998d0b385d52b0

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a3db2ec281b4634597ab9ad5f6c733fccaead30e0676e51bc8acfa790401dab
MD5 bb528d194a4774578463ca3918c1155e
BLAKE2b-256 2da75f8e6b8e04421156a97363318852c0a2ec5e449f43fe92f1fb148ea0ece6

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e9a0ba869e1a265c9cb12802cef61e9aac32a508024c9e40de527742ad4d3bd
MD5 96cecdce49e9eb5d4e72dbe44a9522d9
BLAKE2b-256 d3b3f61dd4dc79ad5bf94e4213552d47db5b545d76dbd5a52d383fce801b6e95

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: arritmic3d-3.0b7-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.13

File hashes

Hashes for arritmic3d-3.0b7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f659e39be5dcf58ed1f8c73b5c6597a88dc3cb2fc0e13a043a478ac02bf795d8
MD5 ebe115e601533ff72ee14e872eb88a73
BLAKE2b-256 b483bb10d5ed472b23c6fbe88c1201cfadbc688ee6899194af048e41c2e6b579

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fbb9f82b3bfeb8924d146854eaf1718252eb70c4eb432ed54d918bf6fbdce69f
MD5 bbc32586d1e0edd771a7ef4ed463659c
BLAKE2b-256 2a07bc7eee7a2e80b249ad6130d179a41af4ebdc24aee6554b61214da44b5292

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4141b93facd9a0228a86709e3ce0ac80a8e0aa135126acf2e01a10a1d601823e
MD5 b0dd0b92f94cca51c48c479fef8c4a58
BLAKE2b-256 32dada4ab4b0705d06898b384836708be24a6292d242ceb8bc459e1b5b2d2d7f

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: arritmic3d-3.0b7-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.13

File hashes

Hashes for arritmic3d-3.0b7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f98f2980568485e6c5c7bd3ff55e2fa35fa106eddfce9ba07b6eb65d0bc57a1f
MD5 f65a68c7692997cc0867930528c9a55c
BLAKE2b-256 d1ce9c7b72be3637bc37bc26ac3316524564fa2b8c74e756bcfefb8a18515cc6

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a31ba53c0ea4524ebade25138f91783ad0e40ca566deb72e668f5682b3187a54
MD5 0338841fa08acf1cfd011fe2ff9ec1f2
BLAKE2b-256 3c1e2ab1f6e424caf883700172926df0c0e795e2392edd736f838562a32de85f

See more details on using hashes here.

File details

Details for the file arritmic3d-3.0b7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arritmic3d-3.0b7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 827629a96eee049101fdf4474a39b107f6a4a47ece955d0cad8be84875bad03b
MD5 caf6edf4cde66863466f0bdfc3a0f4b0
BLAKE2b-256 c7dda4c20dc993f62c3fe53ea70ed8f1078599c70627fc2648410c2ebed18388

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