https://github.com/bergolho/shocker
Program that generates patient-specific Purkinje networks within an endocardium surface
https://github.com/bergolho/shocker
Last synced: about 2 months ago
JSON representation
Program that generates patient-specific Purkinje networks within an endocardium surface
- Host: GitHub
- URL: https://github.com/bergolho/shocker
- Owner: bergolho
- License: mit
- Created: 2022-08-24T13:21:02.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T10:55:50.000Z (7 months ago)
- Last Synced: 2024-11-14T11:35:58.409Z (7 months ago)
- Language: C++
- Size: 4.41 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shocker
Program to generate patient-specific Purkinje Networks within an endocardium surface given by triangles.
## Dependencies
- C++ compiler
- CMake
- VTK library## How to install
To install CMake, run the following command in a Fedora machine:
```sh
$ sudo dnf install cmake
```The VTK library can be installed alongside the Paraview program which will enable the visualization of the generated Purkinje networks.
To install Paraview, run the following command in a Fedora machine:
```sh
$ sudo dnf install paraview
```## Compile and run
To compile the source code you can use the available script.
```sh
$ ./recompile_project.sh
```To run a simulation you need to pass a configuration file as input. There are some samples in the ```inputs``` folder.
Generate a Purkinje network in the LV surface.
```sh
./bin/Shocker inputs/simplified_LV.ini
```Generate a Purkinje network in the RV surface.
```sh
./bin/Shocker inputs/simplified_RV.ini
```The output files are stored in the ```outputs``` folder. Remember to create this folder before running a simulation.
The program generates a Purkinje network that connects the active Purkinje-Ventricular-Junctions (PVJs) with their respective locations and Local Activation Times (LATs).


## How to cite this work
----Berg, L. A, Rocha, B. M., Oliveira, R. S., Sebastian, R., Rodriguez, B., de Queiroz, R. A. B., Cherry, E. M., dos Santos, R. W. Enhanced optimization-based method for the generation of patient-specific models of Purkinje networks. Nature Scientific Reports. https://www.doi.org/10.1038/s41598-023-38653-1