Myokit can be configured by editing the configuration file
~ denotes the user home directory.
This file is generated automatically when Myokit is installed, and can be
modified to indicate e.g. the version and location of the Sundials (CVODES)
library or the location of OpenCL libraries and header files.
system() method can be used to check if the system meets the
requirements to use Myokit and run simulations.
Returns a (long) string with system information.
live_printingis set to
True, no string is returned but the results are printed to screen as they come in.
version() method provides information about the current Myokit
Returns the current Myokit version.
By default, a formatted multi-line string is returned. To get a simpler one-line string set the optional argument
The same version info can be accessed using
myokit.__version__. Unformatted info is available in
myokit.__version_tuple__, which contains the major, minor, and revision number respectively, all as
intobjects. For development versions of Myokit, it may contain a 4th element
Returns the current date and time, in the format used throughout Myokit.
Returns the current time, in the format used throughout Myokit.