Latest version · Free and open source

Cardiac simulation,
made simple.

TorchCor Lighting is a desktop app for TorchCor. Set up, run and explore GPU simulations of the heart on your computer or a GPU server, in a few clicks.

macOS · Windows · Linux

Support many simulation types.

Electrophysiology

Watch activation spread.

Monodomain or reaction–eikonal models with ten cell models built in. Voltage movies, activation, repolarisation and APD maps, and action potentials wherever you click.

Whole heart · sinus beat
Biventricle · five pacing sites
12-lead ECG

Simulate the full ECG.

A ventricular beat and all twelve leads on a CT-based heart–torso model, with the lead-field method. Shown on ECG paper and exported as PNG or CSV.

A simulated 12-lead ECG from TorchCor, drawn lead by lead on ECG paper IaVRV1V4IIaVLV2V5IIIaVFV3V6II rhythm
All twelve leads of a simulated beat on the KCL heart–torso model.
Mechanics

See the tissue deform.

Inflate, contract or beat an idealised ventricle, or bend the benchmark beam, with hyperelastic myocardium laws and follower pressures.

An idealised left ventricle beating through one cardiac cycle.
Electromechanics

Make the heart beat.

Couple activation, cell models, Land contraction and finite-strain mechanics of a four-chamber heart to the CircAdapt circulation, with pressure–volume loops.

8012016004080120 Volume (mL) Pressure (mmHg) LV RV

Get results in three steps.

  1. 1

    Choose a machine

    This computer or any GPU server over SSH. Every GPU is shown live, and the least busy one is picked for you.

  2. 2

    Set up the simulation

    Choose the kind, the mesh and the parameters. Inputs are checked as you type, and you can sweep any parameter.

  3. 3

    Run and explore

    Follow progress and the log live. When the run finishes, its results open as interactive views.

  • Runs keep going

    Close the app or lose the connection; the run carries on.

  • No black box

    Every run is a plain run.py you can read and re-run.

  • Live GPU telemetry

    Load, memory, temperature and power for every GPU.

  • Free and open source

    MIT licensed and built on TorchCor.

Ready to simulate?

Download TorchCor Lighting for macOS, Windows or Linux. It's free.

Get in touch.

TorchCor Lighting is developed by the Cardiac Electro-Mechanics Research Group (CEMRG) at Imperial College London and Stanford University. Questions, feedback or ideas for a collaboration? We would love to hear from you.

Bei Zhou

CEMRG · Imperial College London

bei.zhou@imperial.ac.uk

Steven Niederer

CEMRG · Stanford University

s.niederer@imperial.ac.uk

Found a bug or have a feature request? Open an issue on GitHub.