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] [--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.7.0.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chaste_codegen-0.7.0-py3-none-any.whl (124.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chaste_codegen-0.7.0.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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.7.0.tar.gz
Algorithm Hash digest
SHA256 e3497c1021850f229902f98b13fa6eba924eefe9d5938d6db92047a6d4091458
MD5 94f53533e0e1299af2d7862fe6126a40
BLAKE2b-256 20fc145e1a9e23e5acab93ae9dc55a362ac62b5bd7ab286fca393f11baf98caa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chaste_codegen-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 124.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1343b50cb72e7103da4ec34f7541200a57afa265aec60b3edc44e4d50acb8a6a
MD5 c6285f6ff8f2050f7ae4587924370cbf
BLAKE2b-256 9e30b43e7c26b6043e759f2177693d3c41ad62ccb13c6d6a6f7a7b8ad0c30dbf

See more details on using hashes here.

Supported by

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