Skip to main content

Ubuntu unit tests MacOS unit tests Windows unit tests Windows Miniconda test codecov Documentation Status pypi anaconda

Myokit

Myokit is a tool for modeling and simulation of cardiac cellular electrophysiology. It's open-source, written in Python, hosted on GitHub and available on PyPi. For the latest documentation, see myokit.readthedocs.io.

More information, including examples and an installation guide, is available on myokit.org. A list of changes introduced in each Myokit release is provided in the Changelog.

Install

For full installation details (on linux, mac, or windows), please see https://myokit.org/install. A shorter installation guide for experienced users is given below.

To install Myokit, using PyQt5 for Myokit's GUI components, run:

pip install myokit[pyqt]

to use PySide2 instead, run:

pip install myokit[pyside]

If you're not planning to use the GUI components (for example to run simulations on a server), you can simply install with

pip install myokit

On Linux and Windows, start menu icons can be added by running

python -m myokit icons

To run single-cell simulations, CVODES must be installed (but Windows users can skip this step, as binaries are included in the pip install). In addition, Myokit needs a working C/C++ compiler to be present on the system.

Existing Myokit installations can be upgraded using

pip install --upgrade myokit

Quick-start guide

After installation, to quickly test if Myokit works, type

python -m myokit run example

or simply

myokit run example

To open an IDE window, type

myokit ide

To see what else Myokit can do, type

myokit -h

Contributing to Myokit

Contributing to Myokit is as easy as asking questions or posting issues and feature requests, and we have pledged to make this an inclusive experience.

We are always looking for people to contribute code too! Guidelines to help you do this are provided in CONTRIBUTING.md, but before diving in please open an issue so that we can first discuss what needs to be done.

A high-level plan for Myokit's future is provided in the roadmap.

Meet the team!

Myokit's development is driven by a team at the Universities of Nottingham, Oxford, and Macao, led by Michael Clerx (Nottingham). It is guided by an external advisory group composed of Jordi Heijman (Maastricht University), Trine Krogh-Madsen (Weill Cornell Medicine), and David Gavaghan (Oxford).

Citing Myokit

If you use Myokit in your research, please cite it using the information in our CITATION file.

We like to keep track of who's using Myokit for research (based on publications) and teaching (based on peronsal correspondence). If you've used Myokit in teaching, we're always happy to hear about it so please get in touch via the discussion board!

Release files for myokit 1.39.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myokit 1.39.2
File Size Uploaded
myokit-1.39.2.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for myokit 1.39.2
File Interpreter ABI Platform
myokit-1.39.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 MB

Release files / myokit-1.39.2.tar.gz

Download URL myokit-1.39.2.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d143121978e9239436bcb7cc1505688fc1e13f01ccc37483d6c35c48138a771e
BLAKE2b-256 checksum
How to use checksums
c5e63b76c89811883b0dd543800f0b726df9d8ba0f62665628b07e233e6a7acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / myokit-1.39.2-py3-none-any.whl

Download URL myokit-1.39.2-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7780e8c507621b3a1a51dd76e0ab4413deda4f0065290e5e2620d687e4e1d7d6
BLAKE2b-256 checksum
How to use checksums
aa2044faeb387d752e74c44c61cd449821e504d02021bf28b9387ca2a98b0518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.39.2 This release

2 release files

1.38.0

2 release files

1.37.4

2 release files

1.37.3

2 release files

1.37.0

2 release files

1.36.1

2 release files

1.36.0

2 release files

1.35.4

2 release files

1.35.3

2 release files

1.35.2

2 release files

1.35.1

2 release files

1.35.0

2 release files

1.33.8

2 release files

1.33.7

2 release files

1.33.4

2 release files

1.33.3

2 release files

1.33.2

2 release files

1.33.1

2 release files

1.32.0

2 release files

1.31.0

2 release files

1.30.6

2 release files

1.30.5

2 release files

1.30.4

2 release files

1.30.0

2 release files

1.29.1

2 release files

1.29.0

2 release files

1.28.9

2 release files

1.28.6

2 release files

1.28.5

2 release files

1.28.4

2 release files

1.28.2

2 release files

1.28.1

2 release files

1.28.0

2 release files

1.27.6

2 release files

1.27.5

2 release files

1.27.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page