THIS CODE REQUIRES EXTRA DATA NOT AVAILABLE ON GITHUB. THE CODE POSTED HERE IS FOR REFERENCE.
UNZIP FILE POSTED TO ZENODO TO RUN CODE - 10.5281/zenodo.18188912
There are some libraries that need to be installed to use main.jl. They are listed at the top of the script.
- Navigate to the directory that contains
main.jlandfig1.m. - Start Julia REPL.
- Run
include("main.jl") - Wait for
./simulations/EKSeqto populate with simulations
- Start MATLAB.
- Navigate to the directory that contains
main.jlandfig1.m. - Run
fig1 - Wait for
./simulations/EKSeqto populate with plots of simulations.
Once main.jl is run, run flipFlop.jl.
timeToFirstBurst.mrequires MATLAB 2025a to run. Run MATLAB in the context of the python environemnt provided. Delete comments in line 46 to get plots of every simulation.vectorAnalysis.mwill produce csv's that can be analyzed usingvectorAnalysis.R. Open R REPL and runsource("vectorAnalysis.R")threeDimplots.mwill plot a 3D projection of maximal conductances and half-(in)activations simulation at the time points indicated in paper.
- Simulation
IKHP4Twas used in the paper for example simulations. - Post processing of figures in paper were done in adobe illustrator.