Skip to content

CardiacModelling/AtrialLowK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atrial Low-K code

This repository contains the code needed to reproduce the figures and simulations for the paper "Immediate and delayed response of simulated human atrial myocytes to clinically-relevant hypokalemia" 10.3389/fphys.2021.651162. To cite this work, please use the information provided in the CITATION file.

Requirements

Shared code and models

  • Shared code is stored in shared.py and used by several figures.

Models:

Main figures

To re-run the single cell simulations, and create the main figures, use:

  • Figure 1: f1.py
  • Figure 2: f2.py
  • Figure 3: f3.py
  • Figure 4: f4.py
  • Figure 5: f5.py
  • Finally, to generate the non-schematic parts of Figure 6, use f6.py.

These store their figures in directories figure-1, figure-2, etc.

Supplementary figures

Several supplementary figures are provided:

Linux or OS/X users can use the all-x scripts to generate figures for all models. Similarly, the all script regenerates all figures in this study.