Skip to main content

Code generation for cardiac Chaste

Project description

travis Documentation Status codecov

Code generation for cardiac Chaste

The chaste_codegen module takes CellML models as input, via cellmlmanip to read and manipulate them, then uses templating to generate C++ code.

The jinja2 templating engine is used.

Installing

We recommend installing chaste_codegen in a virtual environment (using virtualenv or conda)

Users install chaste_codegen using pip.

pip install chaste_codegen

Using chaste_codegen

After installation, chaste_codegen can be called using the chaste_codegen command:

usage: chaste_codegen [-h] [--version] [--normal] [--cvode]
                      [--cvode-data-clamp] [--backward-euler] [--rush-larsen]
                      [--grl1] [--grl2] [-j] [-o OUTFILE]
                      [--output-dir OUTPUT_DIR] [--show-outputs] [-c CLS_NAME]
                      [-q] [-y] [--opt] [-m]
                      [--lookup-table <metadata tag> min max step]
                      cellml_file
chaste_codegen: error: the following arguments are required: cellml_file

For more information about the available options call chaste_codegen -h or see the CodeGenerationFromCellML guide

Release notes

For release notes see RELEASE.md

Documentation

API documentation explaining how to use cellmlmanip can be found on readthedocs

Contributing

For guidelines on contributing to chaste_codegen, please see CONTRIBUTING.md.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chaste_codegen-0.5.4.tar.gz (68.6 kB view details)

Uploaded Source

Built Distribution

chaste_codegen-0.5.4-py3-none-any.whl (125.5 kB view details)

Uploaded Python 3

File details

Details for the file chaste_codegen-0.5.4.tar.gz.

File metadata

  • Download URL: chaste_codegen-0.5.4.tar.gz
  • Upload date:
  • Size: 68.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.5.4.tar.gz
Algorithm Hash digest
SHA256 0a616dd858bd41b1c222c5fbf7c3eb70e23a4e473578860e294c0878b77b61cd
MD5 9f41ea2732d5466b1d331d9ce07a8cc7
BLAKE2b-256 654f32e2fc7f370c7bd4032d843a962cead211bb549b2a12997f631bce4b4516

See more details on using hashes here.

File details

Details for the file chaste_codegen-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: chaste_codegen-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 125.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d872aa2a08e89f0df2eb09566a6cdc8bc84a30d2c6955830b744aa121a7115
MD5 f24d034adb2e7615a2815f071b1f1a41
BLAKE2b-256 2c05b1cac919c986419c57f50cebcc8d3c4631fa03b99705932dd722ce49e585

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page