Skip to main content

Code generation for cardiac Chaste

Reason this release was yanked:

Missing some useful warnings and thus not matching what is described on the chaste wiki.

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.2.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

chaste_codegen-0.5.2-py3-none-any.whl (124.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chaste_codegen-0.5.2.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

File hashes

Hashes for chaste_codegen-0.5.2.tar.gz
Algorithm Hash digest
SHA256 27eef0807ef900c80aa991ece9fe034fe57127317ce94c8ca5e0f04f7955a2f4
MD5 953582acc0611f2714483391a8340453
BLAKE2b-256 3fb1fe564f784aa13f944c66614afb9e73b8f4883322c4c5264f99eb36ca7f30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chaste_codegen-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 124.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

File hashes

Hashes for chaste_codegen-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f6181d82525d487b603922d7efb2ec2d4951aa2023998cc12565172e32ab16e
MD5 cc19dfad96fe04fe0699cf433c2baaef
BLAKE2b-256 d4baf654708a15b4ef5570bdf9d9cbae9a04c7d9e8f5182c2a7aa85ab85a83b1

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