Skip to main content

Code generation for cardiac Chaste

Reason this release was yanked:

incompatible with python 3.10 due to pulling in an incompatible pints version

Project description

workflowDocumentation 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] [--rush-larsen-labview]
                      [--rush-larsen-c] [-j] [-o OUTFILE]
                      [--output-dir OUTPUT_DIR] [--show-outputs] [-c CLS_NAME]
                      [-q] [--skip-ingularity-fixes] [-y] [--opt] [-m]
                      [--lookup-table <metadata tag> min max step]
                      [--use-model-factory]
                      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.9.4.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

chaste_codegen-0.9.4-py3-none-any.whl (117.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chaste_codegen-0.9.4.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.60.0 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.9.4.tar.gz
Algorithm Hash digest
SHA256 65b67c99026104288733dada9c94c7bf38f14affc0364d604591ba1277336157
MD5 95eb75f96788cbeca5ef65dc325c2019
BLAKE2b-256 0dce86ca198ff12bfca4c005c27c719e7f97aa45f6707dbac7d056255ae0d2cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chaste_codegen-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 117.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.60.0 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a99ce2717c525ab85b467d6aa1d637a9131aa02248225becc3fd931e2b8f462c
MD5 c19a4f7e631cefa53a91117bf9e91b58
BLAKE2b-256 6303fa30bd034d06b1e9919d478233e40bee36601ec713f6d5283a1c2b341051

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