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

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] [--skip-ingularity-fixes] [-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.9.0.tar.gz (75.8 kB view details)

Uploaded Source

Built Distribution

chaste_codegen-0.9.0-py3-none-any.whl (108.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chaste_codegen-0.9.0.tar.gz
  • Upload date:
  • Size: 75.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.9.0.tar.gz
Algorithm Hash digest
SHA256 d494a40f93615885afbd986171519db50c41b099e63971c5cca2736665891df2
MD5 5f48179c4e9fb5d1b9b3375408e62171
BLAKE2b-256 941acc9552d69d905a77016d793036ac9db209f93ae099783d938b299838b1e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chaste_codegen-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 108.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58e789d41350478b8e8fdae2c841c6d41faa0dc782a010e5fce7bdebc4daf2cd
MD5 ea8b6acb8d979d8de5e39206b85a0527
BLAKE2b-256 89469d75df25fe60fe2eefcdbb990e99a74b33a089a2c61c5d66307d3b97b211

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