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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 arritmic3d-3.0b6.tar.gz.
File metadata
- Download URL: arritmic3d-3.0b6.tar.gz
- Upload date:
- Size: 18.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ea7e07405efc16b2e33e2a391a9588557f4f2d03574c85375156e7f3243de03
|
|
| MD5 |
b675a92c5e9fa985d5a3c6709f3e8ee3
|
|
| BLAKE2b-256 |
d1e8ddae8022743fcbc19dab6181af8474255c07804ffd966754bfb89393a868
|
File details
Details for the file arritmic3d-3.0b6-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00b26d94d910ba46ac80f2b5676a9ea554e888146e38976fad76ba7b7561d79
|
|
| MD5 |
17a245576806239417ce3a5a1fd1e865
|
|
| BLAKE2b-256 |
943d337545f929f820a623f1dd922a61cc1ab65f4c02b8668d859693ca98dec8
|
File details
Details for the file arritmic3d-3.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d096d831b92bfb56c4706813b5c2f08cbcf44c7a8f7b5012aa88b691ec8a761
|
|
| MD5 |
6d48f3f32e49a46e78da157f3ec4e787
|
|
| BLAKE2b-256 |
0b71e76f42be7d37fccde2e9b6b1275f9c71bc06a16e2aa1ed554d0758720ed9
|
File details
Details for the file arritmic3d-3.0b6-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a9d218b23f50b39ec8c42850809fe8217745d64f164296c240054043877aad
|
|
| MD5 |
f8328680fde9ea91c551235680ed3dfa
|
|
| BLAKE2b-256 |
060e9348fc59b069228a504f704f22b2fa54db099f75af6a0e6bab3027d89b76
|
File details
Details for the file arritmic3d-3.0b6-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dcee2eb37b03cf8144fc3806d0f37eac3d15989df1a3911de1956bb6da1be68
|
|
| MD5 |
0d8e82b586e2c684a1aa94d99bf8c673
|
|
| BLAKE2b-256 |
babc27dabe7e4dd1665e7a711967278540f72e02287e45ba2c60da109914695e
|
File details
Details for the file arritmic3d-3.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c361af3f8ea16e01d409b3049ba1eddd6c448cd0c48681a206000bd722a5528c
|
|
| MD5 |
e36e020455a05778fa0d8d75694aa3ed
|
|
| BLAKE2b-256 |
ad678443ab13207e0ae801d8cb4f033d5af8335779ea2a3a918a2b1d28848381
|
File details
Details for the file arritmic3d-3.0b6-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c206c0207941886a50a7788607d205b4047ddb5c3c005efb5f02d0eedeb7ea8
|
|
| MD5 |
5ad41827988f2b6a7343a1d99321e0d1
|
|
| BLAKE2b-256 |
d80b16186b3ea93d351d8b54af3f1f773be778bfe8ceb4f5599b865301835620
|
File details
Details for the file arritmic3d-3.0b6-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-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.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5570c1a821f22573942cfecf50d56287eb5c9cec3773d163929c0c8a11c22da
|
|
| MD5 |
a464ebbf44c30aea17c9fbbddd358ee1
|
|
| BLAKE2b-256 |
3053091a6506cb439e131e35496b8e2c10ecef5c7a327c53cdc71cff159e42e1
|
File details
Details for the file arritmic3d-3.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4c13425b2d17ba62d58c9e05ce7be0cb51f76acdbab008b255205b9ff6a4b0e
|
|
| MD5 |
38a2fce8208f5efd829079ee0a5e0006
|
|
| BLAKE2b-256 |
b9b574f5729ab15950344d5aa39c2a3293d0596fe776884a1d678c4e05057661
|
File details
Details for the file arritmic3d-3.0b6-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2268cc3a8443db70960633100c7b021debc4e7f74b386a7a31f3906862af241
|
|
| MD5 |
e1d573dbbe521770ce5ce61004829309
|
|
| BLAKE2b-256 |
7df58fbd48a3e04ee195b018e07057e60c601a6de70a68f30b46332b227cb3f4
|
File details
Details for the file arritmic3d-3.0b6-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-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.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d387902a46d2b1359509d6370b669c77f32b8eb6e8ba3e43c1f690442ee0b065
|
|
| MD5 |
8e8e1a03bbb4160af285ee3ce5997e5b
|
|
| BLAKE2b-256 |
4c0394fd786e2445ef0ac6c06992f2040b448fc376c209db779f1610b60f28f2
|
File details
Details for the file arritmic3d-3.0b6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
915540e5c9b5d302ddc4fab946cdcb826aecf7cd9722c131c51ae5cd072b60fc
|
|
| MD5 |
49a057cbb8477309863c2a23ec9f8e32
|
|
| BLAKE2b-256 |
bc71adf4e87c60ebd9ae83dd20b048cb6c9f54276cf4adc43997c7e9f887f52e
|
File details
Details for the file arritmic3d-3.0b6-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: arritmic3d-3.0b6-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d60c34985ac7ceef6998c09820885e16e7d4574f2e994020c3c89d27bb048eb3
|
|
| MD5 |
db943fa0398fea9e0ae5e27a1204d179
|
|
| BLAKE2b-256 |
df9af631763a02206a459ad20abc5a6fe7ad49ec63d93989cbc908961576c3c4
|